rbd: correct logging in createBackingImage

after creating the rbd image log the image
details corresponding for the request along
with the request name.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-12-20 21:01:17 +05:30 committed by mergify[bot]
parent 549bfedc94
commit 9499e73b93

View File

@ -655,7 +655,7 @@ func (cs *ControllerServer) createBackingImage(
} }
} }
log.DebugLog(ctx, "created volume %s backed by image %s", rbdVol.RequestName, rbdVol.RbdImageName) log.DebugLog(ctx, "created image %s backed for request name %s", rbdVol, rbdVol.RequestName)
defer func() { defer func() {
if err != nil { if err != nil {