Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Remove duplicates from proplists in one more case
Browse files Browse the repository at this point in the history
Part of rabbitmq/rabbitmq-management#601.

[#159578855]

(cherry picked from commit 20dc382)
  • Loading branch information
michaelklishin committed Aug 7, 2018
1 parent 8c4d529 commit 14cf61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rabbit_mgmt_format.erl
Expand Up @@ -474,7 +474,7 @@ strip_queue_pids([], Acc) ->
%% Items can be connections, channels, consumers or queues, hence remove takes
%% various items.
strip_pids(Item = [T | _]) when is_tuple(T) ->
strip_pids(Item, []);
lists:usort(strip_pids(Item, []));
strip_pids(Items) -> [lists:usort(strip_pids(I)) || I <- Items].
Expand Down

0 comments on commit 14cf61e

Please sign in to comment.