Skip to content

Commit 94919c5

Browse files
mkuratczykmergify[bot]
authored andcommitted
List shovels on all nodes
Previously `rabbitmqctl list_shovels` would only list shovels running on the local node (where the command was executed). For consistency with other commands, such as `list_connections` it should list all shovels in the cluster. (cherry picked from commit a64b721)
1 parent 4a6ce9a commit 94919c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_shovel/src/Elixir.RabbitMQ.CLI.Ctl.Commands.ShovelStatusCommand.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ banner(_, #{node := Node}) ->
6161
atom_to_binary(Node, utf8)]).
6262

6363
run(_Args, #{node := Node}) ->
64-
case rabbit_misc:rpc_call(Node, rabbit_shovel_status, status, []) of
64+
case rabbit_misc:rpc_call(Node, rabbit_shovel_status, cluster_status, []) of
6565
{badrpc, _} = Error ->
6666
Error;
6767
Status ->

0 commit comments

Comments
 (0)