From: Michael Fritch Date: Mon, 27 Apr 2020 17:42:26 +0000 (-0600) Subject: mgr/cephadm: use keyword instead of positional args X-Git-Tag: v16.1.0~2421^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7efa0a6fdadcafb4df0cd1068f7b8482ebae0ce5;p=ceph.git mgr/cephadm: use keyword instead of positional args Signed-off-by: Michael Fritch --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 9fc306f65b32..4481c2eca557 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -2467,7 +2467,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): config_func(spec) did_config = True daemon_id = self.get_unique_name(daemon_type, host, daemons, - spec.service_id, name) + prefix=spec.service_id, + forcename=name) self.log.debug('Placing %s.%s on host %s' % ( daemon_type, daemon_id, host)) if daemon_type == 'mon': @@ -2613,7 +2614,8 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): args = [] # type: List[tuple] for host, network, name in hosts: daemon_id = self.get_unique_name(daemon_type, host, daemons, - spec.service_id, name) + prefix=spec.service_id, + forcename=name) self.log.debug('Placing %s.%s on host %s' % ( daemon_type, daemon_id, host)) if daemon_type == 'mon':