We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8c5c0 commit e9e4be7Copy full SHA for e9e4be7
deps/rabbitmq_cli/lib/rabbitmqctl.ex
@@ -628,7 +628,7 @@ defmodule RabbitMQCtl do
628
## {:fun, fun} - run a custom function to enable distribution.
629
## custom mode is usefult for commands which should have specific node name.
630
## Runs code if distribution is successful, or not needed.
631
- @spec maybe_with_distribution(module(), options(), (() -> command_result())) :: command_result()
+ @spec maybe_with_distribution(module(), options(), (-> command_result())) :: command_result()
632
defp maybe_with_distribution(command, options, code) do
633
try do
634
maybe_with_distribution_without_catch(command, options, code)
0 commit comments