]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: drop indentation on 'df' human output 30848/head
authorSage Weil <sage@redhat.com>
Thu, 10 Oct 2019 16:08:01 +0000 (11:08 -0500)
committerSage Weil <sage@redhat.com>
Thu, 10 Oct 2019 16:08:01 +0000 (11:08 -0500)
Preserve horizontal real estate

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMap.cc

index e76ab9613f9973dc9457d0b773b3a8134a8131d7..ee4334f2ac39a77f3f0e7d492e581ce6f438253f 100644 (file)
@@ -831,8 +831,7 @@ void PGMapDigest::dump_pool_stats_full(
     f->close_section();
   else {
     ceph_assert(ss != nullptr);
-    *ss << "POOLS:\n";
-    tbl.set_indent(4);
+    *ss << "--- POOLS ---\n";
     *ss << tbl;
   }
 }
@@ -892,8 +891,7 @@ void PGMapDigest::dump_cluster_stats(stringstream *ss,
        << percentify(osd_sum.statfs.get_used_raw_ratio()*100.0)
        << TextTable::endrow;
 
-    *ss << "RAW STORAGE:\n";
-    tbl.set_indent(4);
+    *ss << "--- RAW STORAGE ---\n";
     *ss << tbl;
   }
 }