From bcedaebb52e78e886078a2acf54c685cb8fb4f25 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 25 Feb 2019 16:03:06 +0100 Subject: [PATCH] mgr/ssh: fix type and doc errors Signed-off-by: Sebastian Wagner --- src/pybind/mgr/ssh/module.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/ssh/module.py b/src/pybind/mgr/ssh/module.py index b89e14640542a..a9eb060b90a10 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 -- 2.39.5