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