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