Skip to content

Commit c6a515b

Browse files
dumbbellmergify[bot]
authored andcommitted
gen_server2: Fix return value of system_code_change/4
(cherry picked from commit 767e553)
1 parent 741fd43 commit c6a515b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit_common/src/gen_server2.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ system_code_change(GS2State = #gs2_state { mod = Mod,
11131113
{ok, NewState} ->
11141114
NewGS2State = find_prioritisers(
11151115
GS2State #gs2_state { state = NewState }),
1116-
{ok, [NewGS2State]};
1116+
{ok, NewGS2State};
11171117
Else ->
11181118
Else
11191119
end.

0 commit comments

Comments
 (0)