]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/ssh: fix type and doc errors 26630/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 25 Feb 2019 15:03:06 +0000 (16:03 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 25 Feb 2019 15:03:06 +0000 (16:03 +0100)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/ssh/module.py

index b89e14640542a8e0dd50f0df25de64bb94594c3d..a9eb060b90a10ac3a10e634226b1cec6fd6f6324 100644 (file)
@@ -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