diff options
| author | Mohammed Rafi KC <rkavunga@redhat.com> | 2014-11-18 14:58:20 +0530 | 
|---|---|---|
| committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-01-06 01:48:38 -0800 | 
| commit | 2163e3e8d6184c6ae8f6bf5909389783b1bd40f4 (patch) | |
| tree | 54566721c440428feb5ea0b9ffd690a3a86b7b07 | |
| parent | 00b4c62db3d17c47e672fdd5c49e9306d6c2de88 (diff) | |
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 <rkavunga@redhat.com>
Reviewed-on: http://review.gluster.org/9180
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
| -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) {  | 
