]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: Impove type hint for describe_service
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 22 May 2019 13:33:24 +0000 (15:33 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 16 Jul 2019 08:49:55 +0000 (10:49 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 5af3a975a1a0846a28ee89c081d5c50ce67a9ff8)

src/pybind/mgr/orchestrator.py

index dac70a3434a5e222d97d2ae47edcf4e36a30aaea..216127b18b502a1cd752c88f4918494bf3b80e96 100644 (file)
@@ -327,8 +327,8 @@ class Orchestrator(object):
         """
         raise NotImplementedError()
 
-    def describe_service(self, service_type=None, service_id=None, node_name=None):
-        # type: (Optional[str], Optional[str], Optional[str]) -> ReadCompletion[List[ServiceDescription]]
+    def describe_service(self, service_type=None, service_id=None, node_name=None, refresh=False):
+        # type: (Optional[str], Optional[str], Optional[str], bool) -> ReadCompletion[List[ServiceDescription]]
         """
         Describe a service (of any kind) that is already configured in
         the orchestrator.  For example, when viewing an OSD in the dashboard