From: Paul Cuzner Date: Mon, 18 Jan 2021 21:57:14 +0000 (+1300) Subject: mgr/orchestrator: removed worker_pool method X-Git-Tag: v17.1.0~3032^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8c9cd764ee7322dbbb127f70ac522c319d5febcf;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 --- diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index b7444c04aaa1..1c0fae666618 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.