From: Michael Fritch Date: Tue, 3 Mar 2020 15:16:03 +0000 (-0700) Subject: mgr/volumes: import VolumeException X-Git-Tag: v15.1.1~93^2~17 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5b9d5e2e43e3d2e2d391e9bce2328868a6159e53;p=ceph-ci.git 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 --- diff --git a/src/pybind/mgr/volumes/fs/operations/index.py b/src/pybind/mgr/volumes/fs/operations/index.py index 3e11fd58709..0e4296d7556 100644 --- a/src/pybind/mgr/volumes/fs/operations/index.py +++ b/src/pybind/mgr/volumes/fs/operations/index.py @@ -1,6 +1,7 @@ import errno import os +from ..exception import VolumeException from .template import GroupTemplate class Index(GroupTemplate):