From 2163e3e8d6184c6ae8f6bf5909389783b1bd40f4 Mon Sep 17 00:00:00 2001 From: Mohammed Rafi KC Date: Tue, 18 Nov 2014 14:58:20 +0530 Subject: rdma:Removing RDMA tech preview cli message. Backport of http://review.gluster.org/#/c/9141/ Creation of rdma and tcp,rdma volume will display a warning message since it was in tech preview. This patch will remove the warning message during the volume creation. Change-Id: If4adb22cb20e2ef8d32bc798a8002c3e8e23fbdd BUG: 1166515 Signed-off-by: Mohammed Rafi KC Reviewed-on: http://review.gluster.org/9180 Tested-by: Gluster Build System Reviewed-by: Humble Devassy Chirammal Reviewed-by: Raghavendra G Reviewed-by: Raghavendra Bhat --- cli/src/cli-cmd-volume.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'cli') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index c743b8bc9f0..df9d0c2ad62 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -351,10 +351,6 @@ cli_cmd_volume_create_cbk (struct cli_state *state, struct cli_cmd_word *word, int32_t type = GF_CLUSTER_TYPE_NONE; cli_local_t *local = NULL; char *trans_type = NULL; - char *question = "RDMA transport is" - " recommended only for testing purposes" - " in this release. Do you want to continue?"; - gf_answer_t answer = GF_ANSWER_NO; proc = &cli_rpc_prog->proctable[GLUSTER_CLI_CREATE_VOLUME]; @@ -431,15 +427,6 @@ cli_cmd_volume_create_cbk (struct cli_state *state, struct cli_cmd_word *word, goto out; } - if (strcasestr (trans_type, "rdma")) { - answer = - cli_cmd_get_confirmation (state, question); - if (GF_ANSWER_NO == answer) { - ret = 0; - goto out; - } - } - if (state->mode & GLUSTER_MODE_WIGNORE) { ret = dict_set_int32 (options, "force", _gf_true); if (ret) { -- cgit