diff options
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/cli-cmd-volume.c | 13 | 
1 files changed, 0 insertions, 13 deletions
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) {  | 
