74096c
From 070698ede9c3765c95364e8207c8311dbf895499 Mon Sep 17 00:00:00 2001
74096c
From: kiyer <kiyer@redhat.com>
74096c
Date: Tue, 8 Dec 2020 15:18:49 +0530
74096c
Subject: [PATCH 501/511] Cli: Removing old syntax of tier cmds from help menu
74096c
74096c
Remove old syntax of attach-tier and detach-tier
74096c
commands from help menu.
74096c
74096c
Label: DOWNSTREAM ONLY
74096c
BUG: 1813866
74096c
74096c
Change-Id: If86e4828b475fb593a5105ca8deac96374f9542d
74096c
Signed-off-by: kiyer <kiyer@redhat.com>
74096c
Reviewed-on: https://code.engineering.redhat.com/gerrit/220510
74096c
Tested-by: RHGS Build Bot <nigelb@redhat.com>
74096c
Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
74096c
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
74096c
---
74096c
 cli/src/cli-cmd-volume.c | 13 -------------
74096c
 1 file changed, 13 deletions(-)
74096c
74096c
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
74096c
index 6f5bf8b..b6bef80 100644
74096c
--- a/cli/src/cli-cmd-volume.c
74096c
+++ b/cli/src/cli-cmd-volume.c
74096c
@@ -3331,19 +3331,6 @@ struct cli_cmd tier_cmds[] = {
74096c
     {"volume tier <VOLNAME> detach <start|stop|status|commit|[force]>",
74096c
      cli_cmd_volume_tier_cbk, "Detach the hot tier from <VOLNAME>"},
74096c
 
74096c
-    {"volume attach-tier <VOLNAME> [<replica COUNT>] <NEW-BRICK>...",
74096c
-     cli_cmd_volume_tier_cbk,
74096c
-     "NOTE: this is old syntax, will be deprecated in next release. "
74096c
-     "Please use gluster volume tier <vol> attach "
74096c
-     "[<replica COUNT>] <NEW-BRICK>..."},
74096c
-
74096c
-    {"volume detach-tier <VOLNAME> "
74096c
-     "<start|stop|status|commit|force>",
74096c
-     cli_cmd_volume_tier_cbk,
74096c
-     "NOTE: this is old syntax, will be deprecated in next release. "
74096c
-     "Please use gluster volume tier <vol> detach "
74096c
-     "{start|stop|commit} [force]"},
74096c
-
74096c
     {"volume tier <VOLNAME> status\n"
74096c
      "volume tier <VOLNAME> start [force]\n"
74096c
      "volume tier <VOLNAME> stop\n"
74096c
-- 
74096c
1.8.3.1
74096c