From c6b288779aa1f04a787edb9fa129759a7cce67f8 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 20 Dec 2021 20:31:11 +0530 Subject: [PATCH] rbd: correct logging for clone log the rbdVolume and the rbdSnapshot after creating the clone from snapshot. Signed-off-by: Madhu Rajanna --- internal/rbd/controllerserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rbd/controllerserver.go b/internal/rbd/controllerserver.go index 50bb8a4cc..7f6cb93e7 100644 --- a/internal/rbd/controllerserver.go +++ b/internal/rbd/controllerserver.go @@ -596,7 +596,7 @@ func (cs *ControllerServer) createVolumeFromSnapshot( } } - log.DebugLog(ctx, "create volume %s from snapshot %s", rbdVol.RequestName, rbdSnap.RbdSnapName) + log.DebugLog(ctx, "create volume %s from snapshot %s", rbdVol, rbdSnap) // resize the volume if the size is different // expand the image if the requested size is greater than the current size