]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/orchestrator: include service_name in DaemonDescription dump
authorSage Weil <sage@newdream.net>
Fri, 23 Apr 2021 18:53:54 +0000 (14:53 -0400)
committerSage Weil <sage@newdream.net>
Wed, 19 May 2021 12:43:13 +0000 (08:43 -0400)
('orch ps')

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/orchestrator/_interface.py

index 6f14a78cde3f504ae6026b5ad405687b3673b39e..488401c094966b52452c3713ea600092bc8ba9df 100644 (file)
@@ -943,6 +943,7 @@ class DaemonDescription(object):
         out: Dict[str, Any] = OrderedDict()
         out['daemon_type'] = self.daemon_type
         out['daemon_id'] = self.daemon_id
+        out['service_name'] = self._service_name
         out['hostname'] = self.hostname
         out['container_id'] = self.container_id
         out['container_image_id'] = self.container_image_id