diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2010-09-02 05:24:48 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-02 05:17:11 -0700 |
commit | 3e5c243396b6acf1a76d66d80c798466dc5caa55 (patch) | |
tree | 6d6a6afa9c35f534db71a6804652c1fa2aeb7948 /cli/src/cli3_1-cops.c | |
parent | 060380d460caa74b30eb6c0dedc8e25c64030acf (diff) |
cli, mgmt/glusterd: Added replace brick cli response
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1322 (Replace brick should show status of paused and abort states)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1322
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r-- | cli/src/cli3_1-cops.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index e7be898734a..5bf0e3670a9 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -785,14 +785,7 @@ gf_cli3_1_replace_brick_cbk (struct rpc_req *req, struct iovec *iov, case GF_REPLACE_OP_STATUS: - ret = dict_get_str (dict, "status-reply", - &status_reply); - if (ret) { - gf_log ("", GF_LOG_DEBUG, - "dict_get failed on status reply"); - goto out; - } - + status_reply = rsp.status; if (rsp.op_ret || ret) rb_operation_str = "replace-brick status unknown"; else |