]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update OSDMonitor.cc 5410/head
authorrenhwztetecs <rhwlyw@163.com>
Tue, 21 Jul 2015 10:55:00 +0000 (18:55 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Jul 2015 18:15:06 +0000 (20:15 +0200)
OSDMonitor::get_pools_health(), s/objects/bytes/

Fixes: #12402
Signed-off-by: ren.huanwen@zte.com.cn
(cherry picked from commit 7fc13c9d6b9a4962d7640240416105d8f558d600)

src/mon/OSDMonitor.cc

index 9fac2c9aec53c798644ca6a08ad63741c58cbdd5..6a591e30874c8122bec0b8e7f734e0b29aec3322 100644 (file)
@@ -3042,7 +3042,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;
       }