From: Sebastian Wagner Date: Mon, 25 Feb 2019 15:03:06 +0000 (+0100) Subject: mgr/ssh: fix type and doc errors X-Git-Tag: v14.1.1~105^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bcedaebb52e78e886078a2acf54c685cb8fb4f25;p=ceph-ci.git mgr/ssh: fix type and doc errors Signed-off-by: Sebastian Wagner --- diff --git a/src/pybind/mgr/ssh/module.py b/src/pybind/mgr/ssh/module.py index b89e1464054..a9eb060b90a 100644 --- a/src/pybind/mgr/ssh/module.py +++ b/src/pybind/mgr/ssh/module.py @@ -147,7 +147,7 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): elif command["prefix"] == "ssh clear-ssh-config": return self._clear_ssh_config(inbuf, command) else: - raise NotImplementedError(cmd["prefix"]) + raise NotImplementedError(command["prefix"]) @staticmethod def can_run(): @@ -386,7 +386,6 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): Add a host to be managed by the orchestrator. :param host: host name - :param labels: host labels """ def run(host): key = self._hostname_to_store_key(host) @@ -552,7 +551,7 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): The orchestrator CLI currently handles a narrow form of drive specification defined by a single block device using bluestore. - :param spec: osd specification + :param drive_group: osd specification TODO: - support full drive_group specification