diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2020-08-11 22:24:30 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-11 22:24:30 +0300 |
| commit | a0a1af4b3fb791c235d315679d9b620e73d17916 (patch) | |
| tree | 16a395b4137d0a746574bb519f44023d0c5e2582 /src | |
| parent | 9b905fca3f9e0170d0410f31f8144034bd22e898 (diff) | |
| parent | ff5bbbe5141c093eeb20c4d836d1598d1a27aebb (diff) | |
| download | rabbitmq-server-git-a0a1af4b3fb791c235d315679d9b620e73d17916.tar.gz | |
Merge pull request #2426 from rabbitmq/fix-queue-args-definitions
Fix parsing of queue arguments on definitions list
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_definitions.erl | 3 |
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() -> |
