Skip to content

Commit 3f453c4

Browse files
committed
Remove unused function
References #3753
1 parent fe41c15 commit 3f453c4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

deps/rabbitmq_stream/src/rabbit_stream_sac_coordinator.erl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,14 +296,6 @@ notify_consumers(_FormerActive,
296296
{{subscription_id, SubscriptionId}, {active, false},
297297
{side_effects, []}}}.
298298

299-
update_active_flag(Consumer, Active, Consumers) ->
300-
lists:foldl(fun (C, Acc) when C == Consumer ->
301-
Acc ++ [Consumer#consumer{active = Active}];
302-
(C, Acc) ->
303-
Acc ++ [C]
304-
end,
305-
[], Consumers).
306-
307299
update_groups(VirtualHost,
308300
Stream,
309301
ConsumerName,

0 commit comments

Comments
 (0)