mgr/test_orchestrator: add daemon_action

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2020-03-01 14:18:16 -06:00
parent 114ef48739
commit d90cff8cf0

View 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