From b9b32f8363de1895a0cb144b6a641ed61eadade8 Mon Sep 17 00:00:00 2001 From: AnkitRaj Date: Fri, 31 Mar 2017 10:55:41 +0530 Subject: 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 Signed-off-by: AnkitRaj Reviewed-on: https://review.gluster.org/16972 Tested-by: ankitraj NetBSD-regression: NetBSD Build System Smoke: Gluster Build System Reviewed-by: N Balachandran CentOS-regression: Gluster Build System Reviewed-by: Raghavendra G --- cli/src/cli-rpc-ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index afa0487e2f5..23b8fde50e9 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", -- cgit