]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: retrieve local image mirror mode during prepare
authorJason Dillaman <dillaman@redhat.com>
Tue, 7 Jan 2020 01:48:34 +0000 (20:48 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jan 2020 15:48:52 +0000 (10:48 -0500)
commit2a635312808bea4aa9029bc6fb566661a1b707f0
tree5d303bbfda3016297fd93bc87c59f3daea60290c
parent56a7228a3f2cbdc71990b840a0d2ac6b5cbbb1c0
rbd-mirror: retrieve local image mirror mode during prepare

The local image status was already being retrieved so tweak the state
machine to retrieve the mode as well.

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