]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: remove CreateSnapshotRequests __del__() 54293/head
authorRamana Raja <rraja@redhat.com>
Mon, 30 Oct 2023 15:05:27 +0000 (11:05 -0400)
committerRamana Raja <rraja@redhat.com>
Mon, 6 Nov 2023 16:41:15 +0000 (11:41 -0500)
commit33afd50b94ed2e80f03f232dd9d8708b04b2d2f8
tree1cd3bc7dca1687d2e8e578ced8db5d390c77d79b
parentac3df15ccecf4b3cd61dc77644b6c8682f69f2e9
mgr/rbd_support: remove CreateSnapshotRequests __del__()

There is no need for CreateSnapshotRequests.__del__() that calls
CreateSnapshotRequests.wait_for_pending().
MirrorSnapshotScheduleHandler.shutdown() already calls
CreateSnapshotRequests.wait_for_pending().

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit fed1e87685a698876cf167b3681327e5b0066ee6)

Conflicts:
       src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py
 - Above conflict was due to commit e4a16e2
   ("mgr/rbd_support: add type annotation") not in pacific
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py