Madhu Rajanna c2d0cc9ec1 rbd: unmap rbd image if the mounting fails
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)
2020-06-05 12:20:47 +05:30
..
2020-04-14 14:14:29 +00:00
2020-04-15 10:53:58 +00:00