From 891216e186b436444bc5368a96318df7364ce30a Mon Sep 17 00:00:00 2001 From: Pranith K Date: Tue, 9 Nov 2010 03:17:31 +0000 Subject: cli: remove volume type from add-brick and remove-brick cmds Signed-off-by: Pranith Kumar K Signed-off-by: Anand V. Avati BUG: 1983 ("type" in add-brick is completely redundant) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1983 --- cli/src/cli3_1-cops.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cli/src/cli3_1-cops.c') diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index b2adb018826..dec20d904a5 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -1943,11 +1943,6 @@ gf_cli3_1_remove_brick (call_frame_t *frame, xlator_t *this, ret = dict_get_str (dict, "volname", &req.volname); - if (ret) - goto out; - - ret = dict_get_int32 (dict, "type", (int32_t *)&req.type); - if (ret) goto out; -- cgit