Skip to content

Commit 5346339

Browse files
Squash two more deprecated CMQ-related CLI command warnings
1 parent 8de26fb commit 5346339

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/check_if_node_is_mirror_sync_critical_command.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ defmodule RabbitMQ.CLI.Queues.Commands.CheckIfNodeIsMirrorSyncCriticalCommand do
1717

1818
@behaviour RabbitMQ.CLI.CommandBehaviour
1919

20-
import RabbitMQ.CLI.Core.Platform, only: [line_separator: 0]
21-
2220
def scopes(), do: [:diagnostics, :queues]
2321

2422
use RabbitMQ.CLI.Core.AcceptsDefaultSwitchesAndTimeout
@@ -48,7 +46,7 @@ defmodule RabbitMQ.CLI.Queues.Commands.CheckIfNodeIsMirrorSyncCriticalCommand do
4846

4947
def usage, do: "check_if_node_is_mirror_sync_critical"
5048

51-
def banner([], %{node: node_name}) do
49+
def banner([], _) do
5250
"This command is DEPRECATED and is a no-op. It will be removed in a future version."
5351
end
5452

0 commit comments

Comments
 (0)