]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: remove stray return
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 15:21:49 +0000 (08:21 -0700)
committerRamana Raja <rraja@redhat.com>
Thu, 19 Mar 2020 12:57:32 +0000 (18:27 +0530)
commitbdac807aa10ad95e18807da2e39872dfff05679c
tree51954427bb322fc6df49e890065b9420b49a35d5
parent915ab2998fece9b188ad56a29531a1d952af48c7
mgr/volumes: remove stray return

fixes mypy errors:

volumes/fs/purge_queue.py: note: In function "get_trash_entry_for_volume":
volumes/fs/purge_queue.py:28: error: Name 'ret' is not defined

volumes/fs/async_cloner.py: note: In function "get_next_clone_entry":
volumes/fs/async_cloner.py:39: error: Name 'ret' is not defined

Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 760a5918398626c956f22017a6513c7a70ac359a)
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/purge_queue.py