mon/OSDMonitor: adjust stray osd message a bit

'kept' seems wrong in this context.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-05-19 11:58:59 -04:00
parent 0f2a177307
commit 500f6dac42

View File

@ -3603,10 +3603,10 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& 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()));
}
}