From ee30f1b68ad53e8eb04465aafa7ad57119056bd2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 30 Jul 2019 10:01:15 -0500 Subject: [PATCH] mon/health_checks: drop dump_summary_compat Signed-off-by: Sage Weil --- src/mon/health_check.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mon/health_check.h b/src/mon/health_check.h index 5a4696bf8ee8..f3826ee60aac 100644 --- a/src/mon/health_check.h +++ b/src/mon/health_check.h @@ -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"; -- 2.47.3