]> 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)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 2 Feb 2021 22:47:49 +0000 (11:47 +1300)
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>
src/pybind/mgr/orchestrator/_interface.py

index b7444c04aaa1adbce0d0933c187a1517e8b43386..1c0fae6666187e9006e009d9e782cec041ce3d5c 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.