mix format
This commit is contained in:
parent
5f3baf381d
commit
1a8c5c0e49
|
|
@ -628,7 +628,7 @@ defmodule RabbitMQCtl do
|
|||
## {:fun, fun} - run a custom function to enable distribution.
|
||||
## custom mode is usefult for commands which should have specific node name.
|
||||
## Runs code if distribution is successful, or not needed.
|
||||
@spec maybe_with_distribution(module(), options(), (-> command_result())) :: command_result()
|
||||
@spec maybe_with_distribution(module(), options(), (() -> command_result())) :: command_result()
|
||||
defp maybe_with_distribution(command, options, code) do
|
||||
try do
|
||||
maybe_with_distribution_without_catch(command, options, code)
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ defmodule DeactivateDiskFreeSpaceMonitoringCommandTest do
|
|||
end
|
||||
|
||||
test "banner", context do
|
||||
assert @command.banner([], context[:opts]) =~ ~r/Deactivating free disk space monitoring on node/
|
||||
assert @command.banner([], context[:opts]) =~
|
||||
~r/Deactivating free disk space monitoring on node/
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue