summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_definitions.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_definitions.erl b/src/rabbit_definitions.erl
index b2fbb81e45..f67e6dca48 100644
--- a/src/rabbit_definitions.erl
+++ b/src/rabbit_definitions.erl
@@ -663,14 +663,13 @@ queue_definition(Q) ->
rabbit_quorum_queue -> quorum;
T -> T
end,
- Arguments = [{Key, Value} || {Key, _Type, Value} <- amqqueue:get_arguments(Q)],
#{
<<"vhost">> => VHost,
<<"name">> => Name,
<<"type">> => Type,
<<"durable">> => amqqueue:is_durable(Q),
<<"auto_delete">> => amqqueue:is_auto_delete(Q),
- <<"arguments">> => rabbit_misc:amqp_table(Arguments)
+ <<"arguments">> => rabbit_misc:amqp_table(amqqueue:get_arguments(Q))
}.
list_bindings() ->