]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: refactor/simplify health [detail]
authorSage Weil <sage@redhat.com>
Tue, 30 Jul 2019 16:23:57 +0000 (11:23 -0500)
committerSage Weil <sage@redhat.com>
Thu, 15 Aug 2019 01:37:00 +0000 (20:37 -0500)
commit062681a72f3bb48b8bf0abb41439e94bdcfdcfa9
tree72ed2e48bbecbafe6b6e269f5817ff33d8a2c842
parent2a3f89fe6b348e82084eaab2fce59c2fc732f239
mon: refactor/simplify health [detail]

Get rid of single caller helpers.  Instead, assimilate all the checks
together at once, and have two separate blocks, one for formatted, and
one for plaintext output.  Much easier to follow!

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/Monitor.cc
src/mon/health_check.h