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