]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: _create_osd -> _create_osds
authorSage Weil <sage@redhat.com>
Tue, 3 Mar 2020 18:12:01 +0000 (12:12 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Mar 2020 18:57:50 +0000 (12:57 -0600)
So we could do a single daemon synchronously, if we chose.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py

index 17ed63e6023e60acaea8c14042077e59cb06fdee..6cd9cb19e205c366386c7024a6c1ae5960925542 100644 (file)
@@ -1934,9 +1934,12 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
                     continue
                 cmds.append((host, cmd))
 
-        return self._create_osd(cmds)
+        return self._create_osds(cmds)
 
     @async_map_completion
+    def _create_osds(self, host, cmd):
+        return self._create_osd(host, cmd)
+
     def _create_osd(self, host, cmd):
 
         self._require_hosts(host)