From c2ebd7aa84ed666ac8d1f0e9424cd01f877fb53b Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 11 Apr 2012 12:11:06 +0530 Subject: glusterd/remove-brick: Remove support for pause option Decommissioning through rebalance has no pause option. Change-Id: I90f165cdb2eccfaefc99365ae4b48d81320fb753 BUG: 811459 Signed-off-by: shishir gowda Reviewed-on: http://review.gluster.com/3123 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- cli/src/cli-cmd-parser.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/src/cli-cmd-parser.c') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 6c2cff39641..dd7ab03bdb9 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -849,7 +849,7 @@ cli_cmd_volume_remove_brick_parse (const char **words, int wordcount, char *tmp_brick = NULL; char *tmp_brick1 = NULL; char *type_opword[] = { "replica", NULL }; - char *opwords[] = { "start", "commit", "pause", "abort", "status", + char *opwords[] = { "start", "commit", "abort", "status", "force", NULL }; char *w = NULL; int32_t command = GF_OP_CMD_NONE; @@ -911,8 +911,6 @@ cli_cmd_volume_remove_brick_parse (const char **words, int wordcount, command = GF_OP_CMD_COMMIT; if (question) *question = 1; - } else if (!strcmp ("pause", w)) { - command = GF_OP_CMD_PAUSE; } else if (!strcmp ("abort", w)) { command = GF_OP_CMD_ABORT; } else if (!strcmp ("status", w)) { -- cgit