]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/pybind/mgr/mirroring/fs/snapshot_mirror.py: do not assume a cephfs-mirror daemon... 42139/head
authorSébastien Han <seb@redhat.com>
Thu, 1 Jul 2021 15:23:57 +0000 (17:23 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 1 Jul 2021 15:29:59 +0000 (17:29 +0200)
commitdd45ec499c009a4d0487b22f59f9360fb4f55c34
tree39c831419a7e0ee6cf3ed8298ca7fae936986336
parent5c9a3962b76374e2d94a7ef350a17dee8598b290
src/pybind/mgr/mirroring/fs/snapshot_mirror.py: do not assume a cephfs-mirror daemon is always running

We should not assume a daemon is runnning. If the daemon is not running
we get the default value of None. So let's skip the status if no daemon
is running yet.

Fixes: https://tracker.ceph.com/issues/51476
Signed-off-by: Sébastien Han <seb@redhat.com>
src/pybind/mgr/mirroring/fs/snapshot_mirror.py