diff options
author | Venkatesh Somyajulu <vsomyaju@redhat.com> | 2012-09-03 17:59:05 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-09-03 10:47:39 -0700 |
commit | b80158698405f198a3d2b77ee5817d1096740600 (patch) | |
tree | fbe5d1757e39e3829cc28bcca24a7a1a95460a2c /cli | |
parent | fad24c87cef0cc40c661614cd1cf1ab936311dcb (diff) |
cli: Do not print brick info for non-replicate volume
Change-Id: I5e91df64ededd78371c0cd4d900f93ab4a0298ee
BUG: 852406
Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com>
Reviewed-on: http://review.gluster.org/3867
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 92da4d9dcd4..9d699a0fdac 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); |