Merge pull request #17043 from renhwztetecs/renhw-wip-pgmap-pool

mon/pgmap: update pool nearfull display

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-08-18 11:32:41 +08:00 committed by GitHub
commit 8afca6dfa8

View File

@ -3068,7 +3068,7 @@ void PGMap::get_health_checks(
}
if (nearfull_pools) {
ostringstream ss;
ss << nearfull_pools << " pools full";
ss << nearfull_pools << " pools nearfull";
auto& d = checks->add("POOL_NEAR_FULL", HEALTH_WARN, ss.str());
d.detail.swap(nearfull_detail);
}