From: Sebastian Wagner Date: Wed, 22 May 2019 13:33:24 +0000 (+0200) Subject: mgr/orchestrator: Impove type hint for describe_service X-Git-Tag: v14.2.3~82^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=af445ed75e2311cadd84d2c2f182e8eac66885c1;p=ceph.git mgr/orchestrator: Impove type hint for describe_service Signed-off-by: Sebastian Wagner (cherry picked from commit 5af3a975a1a0846a28ee89c081d5c50ce67a9ff8) --- diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index dac70a3434a..216127b18b5 100644 --- a/src/pybind/mgr/orchestrator.py +++ b/src/pybind/mgr/orchestrator.py @@ -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