]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: remove empty list entries from ceph versions 48136/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 19 Sep 2022 13:30:49 +0000 (08:30 -0500)
committershreyanshjain7174 <ssanchet@redhat.com>
Mon, 19 Sep 2022 13:32:23 +0000 (08:32 -0500)
commitd3cca1d5ae692f332f5d3ed94ca1cec8e1ac0a8a
treed701c904b59d5a5889506bd99b8d71b716801b6e
parentab17e4ba1f0e582a6a5fa310e19a15ab8678b944
mon: remove empty list entries from ceph versions

In ceph versions command output, empty list gets printed for
mds. If there are no rgw/rbd-mirror daemon deployed, the
ceph versions command doesn't display version information
(empty list) for those daemons. Similar issue has been observed
for mgr and osd daemons. The ceph versions should only show
version information for daemons which are deployed in the cluster.

Fixes: https://tracker.ceph.com/issues/57585
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
src/mon/Monitor.cc