From: Paul Cuzner Date: Mon, 18 Jan 2021 21:57:14 +0000 (+1300) Subject: mgr/orchestrator: removed worker_pool method X-Git-Tag: v16.2.0~178^2~63 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a66db1146b2446c49b43ce68ac6e0cf28064a7b8;p=ceph.git 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 (cherry picked from commit 8c9cd764ee7322dbbb127f70ac522c319d5febcf) --- diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index 9e4bb473f1bf..d5f4397b5a03 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.