From 0ce6ad11524b3241e68057a7fb6f9aa7951e70ce Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 3 May 2021 17:26:04 +0530 Subject: [PATCH] rbd: fix image details logging log only the required details of the image. Signed-off-by: Madhu Rajanna --- internal/rbd/rbd_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rbd/rbd_util.go b/internal/rbd/rbd_util.go index d379a45b6..c2d31d0b0 100644 --- a/internal/rbd/rbd_util.go +++ b/internal/rbd/rbd_util.go @@ -726,7 +726,7 @@ func (rv *rbdVolume) checkImageChainHasFeature(ctx context.Context, feature uint if errors.Is(err, ErrImageNotFound) { return false, nil } - util.ErrorLog(ctx, "failed to get image info for %s: %s", vol, err) + util.ErrorLog(ctx, "failed to get image info for %s: %s", vol.String(), err) return false, err } if f := vol.hasFeature(feature); f {