]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: orchestrator_cli rename: fix imports
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 24 Jan 2020 11:59:11 +0000 (12:59 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 17 Feb 2020 09:24:01 +0000 (10:24 +0100)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/rook/rook_cluster.py

index 60ebf1e5b6951b000ddc9bab8d8985ec0ccbef5f..3e31fc0cb2cfac8ef539e65c4c1f629bf0c76df0 100644 (file)
@@ -18,6 +18,7 @@ from six.moves.urllib.parse import urljoin  # pylint: disable=import-error
 # to behave cleanly.
 from urllib3.exceptions import ProtocolError
 
+from ceph.deployment.drive_group import DriveGroupSpec
 from mgr_util import merge_dicts
 
 try:
@@ -470,7 +471,7 @@ class RookCluster(object):
         return self._patch(cnfs.CephNFS, 'cephnfses',svc_id, _update_nfs_count)
 
     def add_osds(self, drive_group, all_hosts):
-        # type: (orchestrator.DriveGroupSpec, List[str]) -> str
+        # type: (DriveGroupSpec, List[str]) -> str
         """
         Rook currently (0.8) can only do single-drive OSDs, so we
         treat all drive groups as just a list of individual OSDs.