diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2012-07-31 11:31:16 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-02 13:38:53 -0700 |
commit | 1e4a2354b57a1eb173f31a15bf96b2e174fa34a5 (patch) | |
tree | 7d47fb5dca27b8eab1b6073ccedc9b56425bf5a4 /cli | |
parent | 36827add0f55d674768ff9c90c5fbb636ae99054 (diff) |
glusterd: Made volume set help/help-xml a non-cluster operation.
- Retained apparent redundant checks in stage, commit phase of set
volume for the help options for backward compatibility
Change-Id: Iaefe3805d6b5eeeced2e7e4870830edf3e61dc87
BUG: 844696
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.com/3761
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 414d5ec3d0b..ef0dd839cb7 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -1378,9 +1378,6 @@ gf_cli_set_volume_cbk (struct rpc_req *req, struct iovec *iov, ret = dict_unserialize (rsp.dict.dict_val, rsp.dict.dict_len, &dict); - if (ret) - goto out; - if (dict_get_str (dict, "help-str", &help_str) && !msg[0]) snprintf (msg, sizeof (msg), "Set volume %s", (rsp.op_ret) ? "unsuccessful": "successful"); |