Skip to content

Commit d58d874

Browse files
committed
CLI: Resolve elixirc warnings
1 parent 3809143 commit d58d874

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/auto_complete.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ defmodule RabbitMQ.CLI.AutoComplete do
9494

9595
defp complete_command_opts(command, <<"-", _::binary>> = opt) do
9696
switches =
97-
command.switches
97+
command.switches()
9898
|> Keyword.keys()
9999
|> Enum.map(fn sw -> "--" <> to_string(sw) end)
100100

deps/rabbitmq_cli/test/diagnostics/check_if_any_deprecated_features_are_used_command_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule CheckIfAnyDeprecatedFeaturesAreUsedCommandTest do
1010

1111
@command RabbitMQ.CLI.Diagnostics.Commands.CheckIfAnyDeprecatedFeaturesAreUsedCommand
1212
@policy_name "cmq-policy-8373"
13-
@policy_value "{\"ha-mode\":\"all\"}"
13+
# @policy_value "{\"ha-mode\":\"all\"}"
1414

1515
setup_all do
1616
RabbitMQ.CLI.Core.Distribution.start()

deps/rabbitmq_cli/test/diagnostics/check_if_cluster_has_classic_queue_mirroring_policy_command_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule CheckIfClusterHasClassicQueueMirroringPolicyCommandTest do
1010

1111
@command RabbitMQ.CLI.Diagnostics.Commands.CheckIfClusterHasClassicQueueMirroringPolicyCommand
1212
@policy_name "cmq-policy-8373"
13-
@policy_value "{\"ha-mode\":\"all\"}"
13+
# @policy_value "{\"ha-mode\":\"all\"}"
1414

1515
setup_all do
1616
RabbitMQ.CLI.Core.Distribution.start()

0 commit comments

Comments
 (0)