]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: bootstrap should only update image name if successful
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 01:17:44 +0000 (20:17 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 21:33:21 +0000 (16:33 -0500)
commitf2d43a39c336ea04dc3b2dd361580c1554719cc7
treef9582b61d329cfb42bbf3ec73dfee623b1750358
parent5466e6820197c910859f9982f5d26d9a91f6c7d7
rbd-mirror: bootstrap should only update image name if successful

If we failed to retrieve the local image name during the prepare step, don't
store an empty image name in our cached image name state variable.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc