From: Sage Weil Date: Mon, 16 Jun 2014 23:40:05 +0000 (-0700) Subject: mon: fix typos, punctuation for mon disk space warning(s) X-Git-Tag: v0.83~52^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=98883f6308ce72f69a71feab29ef00e13f319cdb;p=ceph.git mon: fix typos, punctuation for mon disk space warning(s) Backport: firefly Signed-off-by: Sage Weil --- diff --git a/src/mon/DataHealthService.cc b/src/mon/DataHealthService.cc index bbe98e1485a6..e1f514bbe514 100644 --- a/src/mon/DataHealthService.cc +++ b/src/mon/DataHealthService.cc @@ -89,10 +89,10 @@ health_status_t DataHealthService::get_health( string health_detail; if (stats.latest_avail_percent <= g_conf->mon_data_avail_crit) { health_status = HEALTH_ERR; - health_detail = "shutdown iminent!"; + health_detail = "shutdown imminent"; } else if (stats.latest_avail_percent <= g_conf->mon_data_avail_warn) { health_status = HEALTH_WARN; - health_detail = "low disk space!"; + health_detail = "low disk space"; } if (stats.store_stats.bytes_total >= g_conf->mon_leveldb_size_warn) { @@ -114,7 +114,7 @@ health_status_t DataHealthService::get_health( stringstream ss; ss << "mon." << mon_name << " addr " << it->first.addr << " has " << stats.latest_avail_percent - << "%% avail disk space -- " << health_detail; + << "% avail disk space -- " << health_detail; detail->push_back(make_pair(health_status, ss.str())); }