Skip to content

Commit d6f4756

Browse files
committed
Squash dialyzer warning
1 parent 91e0a50 commit d6f4756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_stream_sac_coordinator.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,11 +586,11 @@ handle_node_reconnected(#?MODULE{pids_groups = PidsGroups0,
586586

587587
-spec forget_connection(connection_pid(), state()) ->
588588
{state(), ra_machine:effects()}.
589-
forget_connection(_ConnPid, _State0) ->
589+
forget_connection(_ConnPid, State0) ->
590590
%% TODO SAC forget connection
591591
%% mark connection consumers as forgotten
592592
%% re-evaluate SAC for affected groups
593-
ok.
593+
{State0, []}.
594594

595595
handle_group_after_connection_down(Pid,
596596
{#?MODULE{groups = Groups0} = S0, Eff0},

0 commit comments

Comments
 (0)