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 03572f7 commit 1609ed1Copy full SHA for 1609ed1
deps/rabbitmq_cli/lib/rabbitmqctl.ex
@@ -636,7 +636,7 @@ defmodule RabbitMQCtl do
636
## {:fun, fun} - run a custom function to enable distribution.
637
## custom mode is usefult for commands which should have specific node name.
638
## Runs code if distribution is successful, or not needed.
639
- @spec maybe_with_distribution(module(), options(), (() -> command_result())) :: command_result()
+ @spec maybe_with_distribution(module(), options(), (-> command_result())) :: command_result()
640
defp maybe_with_distribution(command, options, code) do
641
try do
642
maybe_with_distribution_without_catch(command, options, code)
0 commit comments