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>
This commit is contained in:
Susant Palai 2014-09-09 06:05:24 -04:00 committed by Vijay Bellur
parent ed4a754f7b
commit 1c8d4bf6ab

View File

@ -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 "