mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-08-17 08:45:54 +08:00

There is a bug in current code where the devicePath is always empty and the rbd image unmap never happens if nodeplugin fails to mount the rbd image to the stagingpath. This is a fix to unmap the rbd image if some issue occurs after rbd image is mapped. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit 2f7e51076be5ccf246dc2992c718efaa040f617e)