From c62dcfff26082b4c2d23e89f905bd85f865211db Mon Sep 17 00:00:00 2001 From: Manikandan Selvaganesh Date: Mon, 5 Oct 2015 12:59:18 +0530 Subject: tier/cli : throw a warning when user issues a detach-tier commit/force command Change-Id: Idf7664d509156ce46ef4308ffc07fb556a0aedd2 BUG: 1268755 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/12297 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: mohammed rafi kc Reviewed-by: Dan Lambright --- cli/src/cli-cmd-volume.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/src/cli-cmd-volume.c') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 7a350a9dc76..b6a6628aa92 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -996,7 +996,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; -- cgit