From: Sebastian Wagner Date: Fri, 24 Jan 2020 11:59:11 +0000 (+0100) Subject: pybind/mgr: orchestrator_cli rename: fix imports X-Git-Tag: v15.1.1~379^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=128eb8371c6186e98db645853c3dc0b41279f788;p=ceph.git pybind/mgr: orchestrator_cli rename: fix imports Signed-off-by: Sebastian Wagner --- diff --git a/src/pybind/mgr/rook/rook_cluster.py b/src/pybind/mgr/rook/rook_cluster.py index 60ebf1e5b695..3e31fc0cb2cf 100644 --- a/src/pybind/mgr/rook/rook_cluster.py +++ b/src/pybind/mgr/rook/rook_cluster.py @@ -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.