Madhu Rajanna 32faed322a rbd: fix clone problem
This commit fixes a bug in checkCloneImage() which was caused
by checking cloned image before checking on temp-clone image snap
in a subsequent request which lead to stale images. This was solved
by checking temp-clone image snap and flattening temp-clone if
needed.
This commit also fixes comparison bug in flattenCloneImage().

Signed-off-by: Rakshith R <rar@redhat.com>
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit a5a89527165af23c12957e6fd1a9c9c7f427ecef)
2021-08-09 12:10:42 +00:00
..
2021-08-09 12:10:42 +00:00
2021-08-09 12:10:42 +00:00