]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
orchestrator: drop id_ argument from update_stateless_service
authorJeff Layton <jlayton@redhat.com>
Thu, 28 Feb 2019 17:33:04 +0000 (12:33 -0500)
committerJeff Layton <jlayton@redhat.com>
Wed, 6 Mar 2019 12:14:46 +0000 (07:14 -0500)
...we have a "name" field in StatelessServiceSpec.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/orchestrator.py

index 1f3e8f2782b468c854226f431948fd4b8d9f4971..84357538053c8ed292ccaad0edc41f9c08dade63 100644 (file)
@@ -332,8 +332,8 @@ class Orchestrator(object):
         """
         raise NotImplementedError()
 
-    def update_stateless_service(self, service_type, id_, spec):
-        # type: (str, str, StatelessServiceSpec) -> WriteCompletion
+    def update_stateless_service(self, service_type, spec):
+        # type: (str, StatelessServiceSpec) -> WriteCompletion
         """
         This is about changing / redeploying existing services. Like for
         example changing the number of service instances.