]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Update OSDMonitor.cc 5302/head
authorrenhwztetecs <rhwlyw@163.com>
Tue, 21 Jul 2015 10:55:00 +0000 (18:55 +0800)
committerrenhwztetecs <rhwlyw@163.com>
Tue, 21 Jul 2015 10:55:00 +0000 (18:55 +0800)
OSDMonitor::get_pools_health(), s/objects/bytes/

Fixes: #12402
Signed-off-by: ren.huanwen@zte.com.cn
src/mon/OSDMonitor.cc

index 05d603501b718e76efaa31523222c9f34fe43faf..ba802200f3fb8817d64106c31eef97c72ea2df0d 100644 (file)
@@ -3941,7 +3941,7 @@ void OSDMonitor::get_pools_health(
       } else if (warn_threshold > 0 &&
                 sum.num_bytes >= pool.quota_max_bytes*warn_threshold) {
         ss << "pool '" << pool_name
-           << "' has " << si_t(sum.num_bytes) << " objects"
+           << "' has " << si_t(sum.num_bytes) << " bytes"
            << " (max " << si_t(pool.quota_max_bytes) << ")";
         status = HEALTH_WARN;
       }