diff options
| author | dcorbacho <dparracorbacho@piotal.io> | 2019-09-17 10:36:49 +0100 |
|---|---|---|
| committer | dcorbacho <dparracorbacho@piotal.io> | 2019-09-17 13:15:55 +0100 |
| commit | 28e14a0559677f026ba058df294b9fa03afc4902 (patch) | |
| tree | 9be7384d81c139ff5b0f90ef66090e015738e54b /src | |
| parent | 6519b2c0fa47a65326f4af0ea3dce3aa7be69373 (diff) | |
| download | rabbitmq-server-git-28e14a0559677f026ba058df294b9fa03afc4902.tar.gz | |
Fix queue type split
[#166480197]
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_amqqueue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index c061d18333..6988f6614a 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -539,7 +539,7 @@ maybe_migrate(ByNode, MaxQueuesDesired) -> maybe_migrate(ByNode, _, []) -> {ok, maps:fold(fun(K, V, Acc) -> - {CQs, QQs} = lists:splitwith(fun({_, Q, _}) -> + {CQs, QQs} = lists:partition(fun({_, Q, _}) -> ?amqqueue_is_classic(Q) end, V), [[{<<"Node name">>, K}, {<<"Number of quorum queues">>, length(QQs)}, |
