From 4cb6e83726e3bfe3a6443fb6d800a217e2efc0fb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 10 Oct 2019 11:08:01 -0500 Subject: [PATCH] mon/PGMap: drop indentation on 'df' human output Preserve horizontal real estate Signed-off-by: Sage Weil --- src/mon/PGMap.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index e76ab9613f9..ee4334f2ac3 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -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; } } -- 2.39.5