cleanup: log the image name and pool name

instead of logging the volumeID and the pool
name. log the poolname and image name for better
debugging.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-11-08 15:28:04 +05:30 committed by mergify[bot]
parent 5c59a89b02
commit 51998a5f4a

View File

@ -394,8 +394,8 @@ func (ns *NodeServer) stageTransaction(
} }
transaction.devicePath = devicePath transaction.devicePath = devicePath
log.DebugLog(ctx, "rbd image: %s/%s was successfully mapped at %s\n", log.DebugLog(ctx, "rbd image: %s was successfully mapped at %s\n",
req.GetVolumeId(), volOptions.Pool, devicePath) volOptions, devicePath)
// userspace mounters like nbd need the device path as a reference while // userspace mounters like nbd need the device path as a reference while
// restarting the userspace processes on a nodeplugin restart. For kernel // restarting the userspace processes on a nodeplugin restart. For kernel