]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: removed worker_pool method
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 18 Jan 2021 21:57:14 +0000 (10:57 +1300)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 22 Feb 2021 16:34:11 +0000 (17:34 +0100)
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>
(cherry picked from commit 8c9cd764ee7322dbbb127f70ac522c319d5febcf)

src/pybind/mgr/orchestrator/_interface.py

index 9e4bb473f1bff00dfd6a7fc28ff1e939e6b8992a..d5f4397b5a03535798add58fb4eb9797d01cd86b 100644 (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.