]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/rbd_support: make type hits on aio_mirror_image_*() callbacks better
authorIlya Dryomov <idryomov@gmail.com>
Thu, 12 Oct 2023 19:32:53 +0000 (21:32 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 13 Oct 2023 15:39:26 +0000 (17:39 +0200)
commit01fff6a72a328459c1d153e5dc1de6a34e48a82f
tree5bf4aaed86d5e28b85c54aac60ce0aeffcf6f035
parenta81bd2db3af4d7b53736be8e42a3eaa53028d60c
mgr/rbd_support: make type hits on aio_mirror_image_*() callbacks better

Make it clear that mirror mode, mirror info and snap ID can be None if
the respective operation fails.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py