summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-volume.c
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-10-05 12:59:18 +0530
committerDan Lambright <dlambrig@redhat.com>2015-10-08 04:47:42 -0700
commit37a553575ff8df7ede86e3c69fb48d77bfaccafe (patch)
tree2adfe3304b58d76fe70a07aa64a1df6fc7d8d4c6 /cli/src/cli-cmd-volume.c
parent4cf1e84ec80fc58f6f978165a81fd8acbcc648f8 (diff)
tier/cli : throw a warning when user issues a detach-tier commit/force
command Backport of http://review.gluster.org/#/c/12297/ > Change-Id: Idf7664d509156ce46ef4308ffc07fb556a0aedd2 > BUG: 1268755 > Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> > Reviewed-on: http://review.gluster.org/12297 > Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Tested-by: Gluster Build System <jenkins@build.gluster.com> > Reviewed-by: mohammed rafi kc <rkavunga@redhat.com> > Reviewed-by: Dan Lambright <dlambrig@redhat.com> Change-Id: Idf7664d509156ce46ef4308ffc07fb556a0aedd2 BUG: 1269035 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/12305 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r--cli/src/cli-cmd-volume.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index 4f71e21822a..c23f31b83e3 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -1001,7 +1001,8 @@ do_cli_cmd_volume_detach_tier (struct cli_state *state,
if (!frame)
goto out;
- ret = cli_cmd_volume_detach_tier_parse(words, wordcount, &options);
+ ret = cli_cmd_volume_detach_tier_parse(words, wordcount, &options,
+ &need_question);
if (ret) {
cli_usage_out (word->pattern);
parse_error = 1;