CLI: Resolve elixirc warnings
This commit is contained in:
parent
38091430b5
commit
d58d874a0b
|
|
@ -94,7 +94,7 @@ defmodule RabbitMQ.CLI.AutoComplete do
|
|||
|
||||
defp complete_command_opts(command, <<"-", _::binary>> = opt) do
|
||||
switches =
|
||||
command.switches
|
||||
command.switches()
|
||||
|> Keyword.keys()
|
||||
|> Enum.map(fn sw -> "--" <> to_string(sw) end)
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ defmodule CheckIfAnyDeprecatedFeaturesAreUsedCommandTest do
|
|||
|
||||
@command RabbitMQ.CLI.Diagnostics.Commands.CheckIfAnyDeprecatedFeaturesAreUsedCommand
|
||||
@policy_name "cmq-policy-8373"
|
||||
@policy_value "{\"ha-mode\":\"all\"}"
|
||||
# @policy_value "{\"ha-mode\":\"all\"}"
|
||||
|
||||
setup_all do
|
||||
RabbitMQ.CLI.Core.Distribution.start()
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ defmodule CheckIfClusterHasClassicQueueMirroringPolicyCommandTest do
|
|||
|
||||
@command RabbitMQ.CLI.Diagnostics.Commands.CheckIfClusterHasClassicQueueMirroringPolicyCommand
|
||||
@policy_name "cmq-policy-8373"
|
||||
@policy_value "{\"ha-mode\":\"all\"}"
|
||||
# @policy_value "{\"ha-mode\":\"all\"}"
|
||||
|
||||
setup_all do
|
||||
RabbitMQ.CLI.Core.Distribution.start()
|
||||
|
|
|
|||
Loading…
Reference in New Issue