From: Sage Weil Date: Tue, 10 Mar 2020 19:55:59 +0000 (-0400) Subject: mgr/rook: fix list_daemons host arg X-Git-Tag: v15.1.1~8^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5f36e141c349d6f009d3263840152e05a5b73c46;p=ceph.git mgr/rook: fix list_daemons host arg Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index 84d11ca33b1c6..93e9ef4dc7dfd 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -249,9 +249,9 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator): return [orchestrator.HostSpec(n) for n in self.rook_cluster.get_node_names()] @deferred_read - def list_daemons(self, daemon_type=None, daemon_id=None, host_name=None, refresh=False): + def list_daemons(self, daemon_type=None, daemon_id=None, host=None, refresh=False): - pods = self.rook_cluster.describe_pods(daemon_type, daemon_id, host_name) + pods = self.rook_cluster.describe_pods(daemon_type, daemon_id, host) result = [] for p in pods: