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

Commit 20dc382

Browse files
Remove duplicates from proplists in one more case
Part of rabbitmq/rabbitmq-management#601. [#159578855]
1 parent 59b0f4e commit 20dc382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_mgmt_format.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ strip_queue_pids([], Acc) ->
474474
%% Items can be connections, channels, consumers or queues, hence remove takes
475475
%% various items.
476476
strip_pids(Item = [T | _]) when is_tuple(T) ->
477-
strip_pids(Item, []);
477+
lists:usort(strip_pids(Item, []));
478478

479479
strip_pids(Items) -> [lists:usort(strip_pids(I)) || I <- Items].
480480

0 commit comments

Comments
 (0)