]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/ssh: fix 'service ls' on stopped services
authorSage Weil <sage@redhat.com>
Thu, 31 Oct 2019 14:32:48 +0000 (09:32 -0500)
committerSage Weil <sage@redhat.com>
Thu, 31 Oct 2019 19:25:05 +0000 (14:25 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/ssh/module.py

index e78b83256bdb591e798a7055f8d7c8cfca40d51c..d5a5a5185e3802c1f943dcc0652f13f40b42b66c 100644 (file)
@@ -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']]