mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-28 01:36:41 +00:00
rbd: fix image details logging
log only the required details of the image. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit 0ce6ad11524b3241e68057a7fb6f9aa7951e70ce)
This commit is contained in:
parent
4bec4c1818
commit
a884b99c6e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user