From 500f6dac42a74e443fb71c21ebe7a5013bf0b2ec Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 19 May 2017 11:58:59 -0400 Subject: [PATCH] mon/OSDMonitor: adjust stray osd message a bit 'kept' seems wrong in this context. Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index bf3d600082f24..2bdf84ed5d1ec 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3603,10 +3603,10 @@ void OSDMonitor::get_health(list >& summary, if (!osds.empty()) { ostringstream ss; - ss << "osds were removed from osdmap, but still kept in crushmap"; + ss << osds.size() << " osds exist in the crush map but not in the osdmap"; summary.push_back(make_pair(HEALTH_WARN, ss.str())); if (detail) { - ss << " osds: [" << osds << "]"; + ss << " (osds: " << osds << ")"; detail->push_back(make_pair(HEALTH_WARN, ss.str())); } } -- 2.39.5