Skip to content

Commit 44bb401

Browse files
committed
Squash dialyzer warning
1 parent a429339 commit 44bb401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_stream_sac_coordinator.erl

+2-2
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,11 @@ handle_node_reconnected(#?MODULE{pids_groups = PidsGroups0,
584584

585585
-spec forget_connection(connection_pid(), state()) ->
586586
{state(), ra_machine:effects()}.
587-
forget_connection(_ConnPid, _State0) ->
587+
forget_connection(_ConnPid, State0) ->
588588
%% TODO SAC forget connection
589589
%% mark connection consumers as forgotten
590590
%% re-evaluate SAC for affected groups
591-
ok.
591+
{State0, []}.
592592

593593
handle_group_after_connection_down(Pid,
594594
{#?MODULE{groups = Groups0} = S0, Eff0},

0 commit comments

Comments
 (0)