From b80158698405f198a3d2b77ee5817d1096740600 Mon Sep 17 00:00:00 2001 From: Venkatesh Somyajulu Date: Mon, 3 Sep 2012 17:59:05 +0530 Subject: cli: Do not print brick info for non-replicate volume Change-Id: I5e91df64ededd78371c0cd4d900f93ab4a0298ee BUG: 852406 Signed-off-by: Venkatesh Somyajulu Reviewed-on: http://review.gluster.org/3867 Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri Reviewed-by: Vijay Bellur --- cli/src/cli-rpc-ops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 92da4d9dc..9d699a0fd 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -5958,6 +5958,9 @@ gf_cli_heal_volume_cbk (struct rpc_req *req, struct iovec *iov, cli_err ("%s on volume %s has been unsuccessful", operation, volname); } + + ret = rsp.op_ret; + goto out; } else { cli_out ("%s on volume %s has been successful%s", operation, volname, substr); -- cgit