]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: MonMap: display disallowed_leaders whenever they're set 43972/head
authorGreg Farnum <gfarnum@redhat.com>
Fri, 12 Nov 2021 23:05:02 +0000 (23:05 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 16 Nov 2021 18:27:14 +0000 (18:27 +0000)
commitaf6f05e391c59190ee5f2a0c08082bdfb1ee376a
tree6bc8bcc47d5019e5311c3277dcb10d2ac08e5f19
parent80726a08b9b8f04143ace55e4959aeb8ec834098
mon: MonMap: display disallowed_leaders whenever they're set

In c59a6f89465e3933631afa2ba92e8c1ae1c31c06, I erroneously changed
the CLI display output so it would only dump disallowed_leaders in
stretch mode. But they can also be set in connectivity or disallow
election modes and we want users to be able to see them then as well.

Fixes: https://tracker.ceph.com/issues/53258
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 1e34788f9af6fd02288daddc659e24834299bafd)
src/mon/MonMap.cc