From: Sage Weil Date: Tue, 3 Mar 2020 18:12:01 +0000 (-0600) Subject: mgr/cephadm: _create_osd -> _create_osds X-Git-Tag: v15.1.1~118^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=01edb5955ceb0c1a5c76fc44647c120a5fbc48ed;p=ceph.git mgr/cephadm: _create_osd -> _create_osds So we could do a single daemon synchronously, if we chose. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 17ed63e6023e6..6cd9cb19e205c 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -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)