]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: make type hits on aio_mirror_image_*() callbacks better 54053/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 12 Oct 2023 19:32:53 +0000 (21:32 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 17 Oct 2023 11:40:25 +0000 (13:40 +0200)
commit0b1107e7c705e33f7ee39d39fca99c0ceea8a6b0
tree088dae5f564d3b7a8f64e0f85b7cf1805061fe06
parent0d32001b83002016fc5b3f411e5de4ff987fba10
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>
(cherry picked from commit 01fff6a72a328459c1d153e5dc1de6a34e48a82f)

Conflicts:
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py [ commit
  e4a16e261370 ("mgr/rbd_support: add type annotation") not in
  pacific ]
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py