]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: import VolumeException
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 15:16:03 +0000 (08:16 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 5 Mar 2020 20:19:32 +0000 (13:19 -0700)
commit5b9d5e2e43e3d2e2d391e9bce2328868a6159e53
tree7100d034e4f2837f1b52b6358f60be0d5b6212d3
parent23efb9240ea6187386677e262dab7f87e1dbac42
mgr/volumes: import VolumeException

fixes mypy errors:

volumes/fs/operations/index.py: note: In member "track" of class "Index":
volumes/fs/operations/index.py:19: error: Name 'VolumeException' is not defined

volumes/fs/operations/index.py: note: In member "untrack" of class "Index":
volumes/fs/operations/index.py:22: error: Name 'VolumeException' is not defined

Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/volumes/fs/operations/index.py