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 <pcuzner@redhat.com>
This commit is contained in:
Paul Cuzner 2021-01-19 10:57:14 +13:00
parent a4f4a67fe7
commit 8c9cd764ee

View File

@ -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.