summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorAnkitRaj <anraj@redhat.com>2017-05-08 17:52:33 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-05-09 15:21:11 +0000
commit284451110add7b95c6ddaa2d2aa21fc7528e4f2b (patch)
treeccbace4e0a4ebd033b0729cfbc92c21949b3779e /cli/src
parent4b03314e14c0395cc6c51692fd563f92f5b6f282 (diff)
dht:Spacing issue in fix-layout o/p
There is a spacing issue in the status output of the rebalance fix-layout operations. If the local host name is big then we will have spacing issue. Change-Id: I2fcc4fd382723fb7e93cb4d4dad03dae682cc1a8 BUG: 1437748 Signed-off-by: AnkitRaj <anraj@redhat.com> Reviewed-on: https://review.gluster.org/17203 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: ankitraj NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli-rpc-ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index c79094337b2..b3219f5560a 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1639,9 +1639,9 @@ gf_cli_print_rebalance_status (dict_t *dict, enum gf_task_types task_type,
}
if (fix_layout) {
- cli_out ("%40s %40s %18s", "Node", "status",
+ cli_out ("%35s %41s %27s", "Node", "status",
"run time in h:m:s");
- cli_out ("%40s %40s %18s", "---------", "-----------",
+ cli_out ("%35s %41s %27s", "---------", "-----------",
"------------");
} else {
cli_out ("%40s %16s %13s %13s %13s %13s %20s %18s",
@@ -1761,7 +1761,7 @@ gf_cli_print_rebalance_status (dict_t *dict, enum gf_task_types task_type,
sec = ((int) elapsed % 3600) % 60;
if (fix_layout) {
- cli_out ("%20s %40s %8d:%d:%d", node_name, status_str,
+ cli_out ("%35s %50s %8d:%d:%d", node_name, status_str,
hrs, min, sec);
} else {
if (size_str) {