From: John Spray Date: Thu, 22 Jun 2017 00:14:19 +0000 (-0400) Subject: mon: pass new style health to mgr X-Git-Tag: v12.1.1~58^2~18 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a2f02ac0732d7e1e8e825e6e4d738aee1dad349d;p=ceph-ci.git mon: pass new style health to mgr Signed-off-by: John Spray --- diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 8f5c252f2a2..ccb1cda4943 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -353,8 +353,7 @@ void MgrMonitor::send_digests() MMgrDigest *mdigest = new MMgrDigest; JSONFormatter f; - std::list health_strs; - mon->get_health(health_strs, nullptr, &f); + mon->get_health_status(true, &f, nullptr, nullptr, nullptr); f.flush(mdigest->health_json); f.reset();