From 8098ca765fadce18c3738df04f9eb5ddf786c113 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Thu, 17 Sep 2020 11:37:15 +0800 Subject: [PATCH] mgr/rook: fix listing daemons Pass the parameters to the `_list_daemons` method explicitly to avoid missing parameters. Fixes: https://tracker.ceph.com/issues/47387 Signed-off-by: Kiefer Chang --- src/pybind/mgr/rook/module.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index 64fcff99c8d90..daebe31899f89 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -363,7 +363,11 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator): @deferred_read def list_daemons(self, service_name=None, daemon_type=None, daemon_id=None, host=None, refresh=False): - return self._list_daemons(daemon_type, daemon_id, host, refresh) + return self._list_daemons(service_name=service_name, + daemon_type=daemon_type, + daemon_id=daemon_id, + host=host, + refresh=refresh) def _list_daemons(self, service_name=None, daemon_type=None, daemon_id=None, host=None, refresh=False): -- 2.47.3