Tier/cli: removing warning message for tiering
authorhari gowtham <hgowtham@redhat.com>
Wed, 21 Oct 2015 06:42:09 +0000 (12:12 +0530)
committerDan Lambright <dlambrig@redhat.com>
Wed, 21 Oct 2015 20:39:04 +0000 (13:39 -0700)
The warning message for tiering being under experimental staus is removed.

Change-Id: I7d1d535d380b672c70f03ecc0d24a113600ea43f
BUG: 1273726
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Reviewed-on: http://review.gluster.org/12407
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: mohammed rafi kc <rkavunga@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
cli/src/cli-cmd-volume.c

index b6a6628aa92e1fbdc52af9d54832e00a7cfea5bc..73579a5581b941e6877048b300cbe0b0ecc3a5be 100644 (file)
@@ -905,21 +905,11 @@ do_cli_cmd_volume_attach_tier (struct cli_state *state,
         int                     parse_error = 0;
         cli_local_t             *local = NULL;
         int                     type = 0;
-        char                    *question = "Attach tier is recommended only "
-                                            "for testing purposes in this "
-                                            "release. Do you want to continue?";
-        gf_answer_t             answer = GF_ANSWER_NO;
 
         frame = create_frame (THIS, THIS->ctx->pool);
         if (!frame)
                 goto out;
 
-        answer = cli_cmd_get_confirmation (state, question);
-        if (GF_ANSWER_NO == answer) {
-                ret = 0;
-                goto out;
-        }
-
         ret = cli_cmd_volume_add_brick_parse (words, wordcount, &options, &type);
         if (ret) {
                 cli_usage_out (word->pattern);