From 298a0b3f171a746bd4f16fe3bb33b12bf5b6f915 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 31 Oct 2019 09:32:48 -0500 Subject: [PATCH] mgr/ssh: fix 'service ls' on stopped services Signed-off-by: Sage Weil --- src/pybind/mgr/ssh/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/ssh/module.py b/src/pybind/mgr/ssh/module.py index e78b83256bd..d5a5a5185e3 100644 --- a/src/pybind/mgr/ssh/module.py +++ b/src/pybind/mgr/ssh/module.py @@ -478,7 +478,7 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): sd.status_desc = d['state'] sd.status = { 'running': 1, - 'inactive': 0, + 'stopped': 0, 'error': -1, 'unknown': -1, }[d['state']] -- 2.39.5