From 8c9cd764ee7322dbbb127f70ac522c319d5febcf Mon Sep 17 00:00:00 2001 From: Paul Cuzner Date: Tue, 19 Jan 2021 10:57:14 +1300 Subject: [PATCH] mgr/orchestrator: removed worker_pool method The worker_pool_size method has been removed and its functionality replaced by the cephadm 'available' function to help keep the interface model generic. Signed-off-by: Paul Cuzner --- src/pybind/mgr/orchestrator/_interface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index b7444c04aaa..1c0fae66661 100644 --- a/src/pybind/mgr/orchestrator/_interface.py +++ b/src/pybind/mgr/orchestrator/_interface.py @@ -789,9 +789,6 @@ class Orchestrator(object): def is_paused(self) -> bool: raise NotImplementedError() - def worker_pool_size(self) -> int: - raise NotImplementedError() - def add_host(self, host_spec: HostSpec) -> Completion[str]: """ Add a host to the orchestrator inventory.