summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorSakshi <sabansal@redhat.com>2015-04-30 18:10:26 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-07-29 02:01:21 -0700
commitf7e898cb33b7702ef7299c73f63d70163144b148 (patch)
treeace89183941199fa82316874b1f21af6ce37f4f1 /cli
parent71641e36734c86ac14c62caf57301e2214712502 (diff)
cli : removing extra colon from rebalance status output
Change-Id: I74417471d7d2a86f198037d88dbf7d072c4349c3 BUG: 1218960 Signed-off-by: Sakshi <sabansal@redhat.com> Reviewed-on: http://review.gluster.org/10475 Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: N Balachandran <nbalacha@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index dd92a15368f..4c7248c3e39 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1818,11 +1818,11 @@ done:
rsp.op_errstr);
else {
if (rsp.op_ret)
- cli_err ("volume rebalance: %s: failed: %s", volname,
- msg);
+ cli_err ("volume rebalance: %s: failed%s%s",
+ volname, strlen (msg) ? ": " : "", msg);
else
- cli_out ("volume rebalance: %s: success: %s", volname,
- msg);
+ cli_out ("volume rebalance: %s: success%s%s",
+ volname, strlen (msg) ? ": " : "", msg);
}
ret = rsp.op_ret;