rbd: correct logging for clone

log the rbdVolume and the rbdSnapshot
after creating the clone from snapshot.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-12-20 20:31:11 +05:30 committed by mergify[bot]
parent 210f95de04
commit c6b288779a

View File

@ -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