From 128eb8371c6186e98db645853c3dc0b41279f788 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 24 Jan 2020 12:59:11 +0100 Subject: [PATCH] pybind/mgr: orchestrator_cli rename: fix imports Signed-off-by: Sebastian Wagner --- src/pybind/mgr/rook/rook_cluster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/rook/rook_cluster.py b/src/pybind/mgr/rook/rook_cluster.py index 60ebf1e5b6951..3e31fc0cb2cfa 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. -- 2.39.5