From 1c8d4bf6ab299f8fb44dce354fb8f3232136be02 Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Tue, 9 Sep 2014 06:05:24 -0400 Subject: CLI: Show warning on remove-brick commit Signed-off-by: Susant Palai Change-Id: I48a4168f81bd272216549c76b0bc1b23e34894d6 BUG: 1136702 Reviewed-on: http://review.gluster.org/8664 Tested-by: Gluster Build System Reviewed-by: N Balachandran Reviewed-by: Vijay Bellur --- cli/src/cli-rpc-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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 " -- cgit