]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/test_orchestrator: add daemon_action 33541/head
authorSage Weil <sage@redhat.com>
Sun, 1 Mar 2020 20:18:16 +0000 (14:18 -0600)
committerSage Weil <sage@redhat.com>
Sun, 1 Mar 2020 20:18:16 +0000 (14:18 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/test_orchestrator/module.py

index 237de0c77976cf72e4805717f79c601965b29375..70b556c61d92cc5cf6907855dffccd65e44c50fc 100644 (file)
@@ -231,6 +231,10 @@ class TestOrchestrator(MgrModule, orchestrator.Orchestrator):
     def service_action(self, action, service_name):
         pass
 
+    @deferred_write("daemon_action")
+    def daemon_action(self, action, daemon_type, daemon_id):
+        pass
+
     @deferred_write("Adding NFS service")
     def add_nfs(self, spec):
         # type: (orchestrator.NFSServiceSpec) -> None