From d90cff8cf0313d9f6c8681b6564f8fa12d97c55d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 1 Mar 2020 14:18:16 -0600 Subject: [PATCH] mgr/test_orchestrator: add daemon_action Signed-off-by: Sage Weil --- src/pybind/mgr/test_orchestrator/module.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pybind/mgr/test_orchestrator/module.py b/src/pybind/mgr/test_orchestrator/module.py index 237de0c77976c..70b556c61d92c 100644 --- a/src/pybind/mgr/test_orchestrator/module.py +++ b/src/pybind/mgr/test_orchestrator/module.py @@ -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 -- 2.39.5