Skip to content

Commit 8de26fb

Browse files
Fix two warnings in a deprecated CMQ-related CLI command
1 parent 9debca2 commit 8de26fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ defmodule RabbitMQ.CLI.Queues.Commands.CheckIfNodeIsMirrorSyncCriticalCommand do
2626
use RabbitMQ.CLI.Core.AcceptsNoPositionalArguments
2727
use RabbitMQ.CLI.Core.RequiresRabbitAppRunning
2828

29-
def run([], %{node: node_name, timeout: timeout}) do
29+
def run([], _opts) do
3030
:ok
3131
end
3232

3333
def output(:ok, %{formatter: "json"}) do
3434
{:ok, %{"result" => "ok"}}
3535
end
3636

37-
def output(:ok, %{node: node_name}) do
37+
def output(:ok, _opts) do
3838
{:ok, "ok"}
3939
end
4040

0 commit comments

Comments
 (0)