summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorAnkitRaj <anraj@redhat.com>2017-03-31 10:55:41 +0530
committerRaghavendra G <rgowdapp@redhat.com>2017-04-11 00:33:06 -0400
commitb9b32f8363de1895a0cb144b6a641ed61eadade8 (patch)
tree596394b0ac32c65e2b49497e60344427c9fb4c21 /cli
parent88551d8567503b3eba17e54fbe7dd9ee6266c1ab (diff)
DHT: Spacing issue in fix-layout status output
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. To fix this we need to increase the space for node column. Change-Id: Ic22e8017b55b05680db851a81f9b43c20489db79 BUG: 1437748 Signed-off-by: ankit <anraj@redhat.com> Signed-off-by: AnkitRaj <anraj@redhat.com> Reviewed-on: https://review.gluster.org/16972 Tested-by: ankitraj NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: N Balachandran <nbalacha@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index afa0487..23b8fde 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 ("%20s %40s %18s", "Node", "status",
+ cli_out ("%40s %40s %18s", "Node", "status",
"run time in h:m:s");
- cli_out ("%20s %40s %18s", "---------", "-----------",
+ cli_out ("%40s %40s %18s", "---------", "-----------",
"------------");
} else {
cli_out ("%40s %16s %13s %13s %13s %13s %20s %18s",