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 99fea41 commit 7f1ceb2Copy full SHA for 7f1ceb2
deps/rabbitmq_shovel/src/Elixir.RabbitMQ.CLI.Ctl.Commands.DeleteShovelCommand.erl
@@ -80,9 +80,13 @@ run([Name], #{node := Node, vhost := VHost, force := Force}) ->
80
undefined ->
81
try_force_removing(Node, VHost, Name, ActingUser),
82
{error, rabbit_data_coercion:to_binary(ErrMsg)};
83
+ {{_Name, _VHost}, _Type, {terminated, _}, _Metrics, _Timestamp} ->
84
+ delete_shovel(ErrMsg, VHost, Name, ActingUser, Node, Node);
85
{{_Name, _VHost}, _Type, {_State, Opts}, _Metrics, _Timestamp} ->
86
HostingNode = proplists:get_value(node, Opts, Node),
87
delete_shovel(ErrMsg, VHost, Name, ActingUser, HostingNode, Node);
88
+ {{_Name, _VHost}, _Type, {terminated, _}, _Timestamp} ->
89
90
{{_Name, _VHost}, _Type, {_State, Opts}, _Timestamp} ->
91
92
delete_shovel(ErrMsg, VHost, Name, ActingUser, HostingNode, Node)
0 commit comments