fix: end handle_call/3 with period so release compiles
Trailing semicolon after wait_for_tables clause made Erlang treat handle_cast as another handle_call clause and failed rebar3 as prod release.
This commit is contained in:
@@ -138,7 +138,7 @@ handle_call(wait_for_tables, _From, State) ->
|
||||
case do_wait_for_tables() of
|
||||
ok -> {reply, ok, State};
|
||||
{error, Reason} -> {reply, {error, Reason}, State}
|
||||
end;
|
||||
end.
|
||||
|
||||
handle_cast(_Msg, State) -> {noreply, State}.
|
||||
handle_info({cleanup}, State) ->
|
||||
|
||||
Reference in New Issue
Block a user