From f7e898cb33b7702ef7299c73f63d70163144b148 Mon Sep 17 00:00:00 2001 From: Sakshi Date: Thu, 30 Apr 2015 18:10:26 +0530 Subject: cli : removing extra colon from rebalance status output Change-Id: I74417471d7d2a86f198037d88dbf7d072c4349c3 BUG: 1218960 Signed-off-by: Sakshi Reviewed-on: http://review.gluster.org/10475 Reviewed-by: Gaurav Kumar Garg Tested-by: Gluster Build System Reviewed-by: N Balachandran Tested-by: NetBSD Build System Reviewed-by: Krishnan Parthasarathi --- cli/src/cli-rpc-ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') 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; -- cgit