summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijaykumar M <vmallika@redhat.com>2013-11-11 12:05:55 +0530
committerAnand Avati <avati@redhat.com>2013-11-11 10:23:02 -0800
commit27935ee84c484fff3d8d29218c197812701957ed (patch)
treecc1d1affb9b56a2889681fb98aa960e1850e80dd
parentcfbc7ddbadfc7d01124aa713c4769c45e0522db5 (diff)
cli: Set the o/p width of hostname to 8 characters
Change-Id: I91dcb19ba4d31c17e6041155c0e59af457b87f1b BUG: 1028871 Signed-off-by: Vijaykumar M <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/6245 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--cli/src/cli-rpc-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index dbc9fef..6ecb423 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -285,7 +285,7 @@ gf_cli_output_pool_list (dict_t *dict, int count)
else
connected_str = "Disconnected";
- cli_out ("%s\t%s\t%s ", uuid_buf, hostname_buf,
+ cli_out ("%s\t%-8s\t%s ", uuid_buf, hostname_buf,
connected_str);
i++;
}