]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: pass new style health to mgr
authorJohn Spray <john.spray@redhat.com>
Thu, 22 Jun 2017 00:14:19 +0000 (20:14 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:52:02 +0000 (12:52 -0400)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MgrMonitor.cc

index 8f5c252f2a23f74120b57cec7b2cf213b74c11c5..ccb1cda4943e9889a8cadcb141d56fd753bc342b 100644 (file)
@@ -353,8 +353,7 @@ void MgrMonitor::send_digests()
     MMgrDigest *mdigest = new MMgrDigest;
 
     JSONFormatter f;
-    std::list<std::string> 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();