From 2453fd874197f84e11ae70053cff7f56a32988f4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 14:35:16 +0000 Subject: automatic import of glusterfs --- ...ng-old-syntax-of-tier-cmds-from-help-menu.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 0501-Cli-Removing-old-syntax-of-tier-cmds-from-help-menu.patch (limited to '0501-Cli-Removing-old-syntax-of-tier-cmds-from-help-menu.patch') diff --git a/0501-Cli-Removing-old-syntax-of-tier-cmds-from-help-menu.patch b/0501-Cli-Removing-old-syntax-of-tier-cmds-from-help-menu.patch new file mode 100644 index 0000000..5152df8 --- /dev/null +++ b/0501-Cli-Removing-old-syntax-of-tier-cmds-from-help-menu.patch @@ -0,0 +1,48 @@ +From 070698ede9c3765c95364e8207c8311dbf895499 Mon Sep 17 00:00:00 2001 +From: kiyer +Date: Tue, 8 Dec 2020 15:18:49 +0530 +Subject: [PATCH 501/511] Cli: Removing old syntax of tier cmds from help menu + +Remove old syntax of attach-tier and detach-tier +commands from help menu. + +Label: DOWNSTREAM ONLY +BUG: 1813866 + +Change-Id: If86e4828b475fb593a5105ca8deac96374f9542d +Signed-off-by: kiyer +Reviewed-on: https://code.engineering.redhat.com/gerrit/220510 +Tested-by: RHGS Build Bot +Reviewed-by: Mohit Agrawal +Reviewed-by: Sunil Kumar Heggodu Gopala Acharya +--- + cli/src/cli-cmd-volume.c | 13 ------------- + 1 file changed, 13 deletions(-) + +diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c +index 6f5bf8b..b6bef80 100644 +--- a/cli/src/cli-cmd-volume.c ++++ b/cli/src/cli-cmd-volume.c +@@ -3331,19 +3331,6 @@ struct cli_cmd tier_cmds[] = { + {"volume tier detach ", + cli_cmd_volume_tier_cbk, "Detach the hot tier from "}, + +- {"volume attach-tier [] ...", +- cli_cmd_volume_tier_cbk, +- "NOTE: this is old syntax, will be deprecated in next release. " +- "Please use gluster volume tier attach " +- "[] ..."}, +- +- {"volume detach-tier " +- "", +- cli_cmd_volume_tier_cbk, +- "NOTE: this is old syntax, will be deprecated in next release. " +- "Please use gluster volume tier detach " +- "{start|stop|commit} [force]"}, +- + {"volume tier status\n" + "volume tier start [force]\n" + "volume tier stop\n" +-- +1.8.3.1 + -- cgit v1.2.3