diff options
author | Susant Palai <spalai@redhat.com> | 2014-09-09 06:05:24 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-09 22:06:43 -0700 |
commit | 1c8d4bf6ab299f8fb44dce354fb8f3232136be02 (patch) | |
tree | 12cf96273f0bc5e5807f51eb9eab0d3b086dac53 /cli/src/cli-rpc-ops.c | |
parent | ed4a754f7b6b103b23b2c3e29b8b749cd9db89f3 (diff) |
CLI: Show warning on remove-brick commit
Signed-off-by: Susant Palai <spalai@redhat.com>
Change-Id: I48a4168f81bd272216549c76b0bc1b23e34894d6
BUG: 1136702
Reviewed-on: http://review.gluster.org/8664
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 151ec0d3157..50f2f687a3a 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -2088,7 +2088,7 @@ gf_cli_remove_brick_cbk (struct rpc_req *req, struct iovec *iov, cli_out ("volume remove-brick %s: success", cmd_str); if (GF_OP_CMD_START == cmd && task_id_str != NULL) cli_out ("ID: %s", task_id_str); - if (GF_OP_CMD_COMMIT_FORCE == cmd) + if (GF_OP_CMD_COMMIT_FORCE == cmd || GF_OP_CMD_COMMIT == cmd) cli_out ("Check the removed bricks to ensure all files " "are migrated.\nIf files with data are " "found on the brick path, copy them via a " |