]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/health_checks: drop dump_summary_compat
authorSage Weil <sage@redhat.com>
Tue, 30 Jul 2019 15:01:15 +0000 (10:01 -0500)
committerSage Weil <sage@redhat.com>
Thu, 15 Aug 2019 01:37:00 +0000 (20:37 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/health_check.h

index 5a4696bf8ee8b55150ba8af43e2f9f0f25a3ca30..f3826ee60aacc73dd87ba4c08c63c248490c6895 100644 (file)
@@ -169,15 +169,6 @@ struct health_check_map_t {
     return r;
   }
 
-  void dump_summary_compat(ceph::Formatter *f) const {
-    for (auto& p : checks) {
-      f->open_object_section("item");
-      f->dump_stream("severity") << p.second.severity;
-      f->dump_string("summary", p.second.summary);
-      f->close_section();
-    }
-  }
-
   void dump_detail(std::string *plain) const {
     for (auto& p : checks) {
       *plain += p.first + " " + p.second.summary + "\n";