Skip to content

Commit 4ab5221

Browse files
committed
Remove extraneous noreply from riak_repl2_rtsource_conn:reconnect
1 parent 0489c7c commit 4ab5221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/riak_repl2_rtsource_conn.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ reconnect(State=#state{remote=Remote}, BetterAddrs) ->
388388
case riak_core_connection_mgr:connect({rt_repl, Remote}, ?CLIENT_SPEC, {use_only, BetterAddrs}) of
389389
{ok, Ref} ->
390390
lager:debug("connecting ref ~p", [Ref]),
391-
{noreply, State#state{ connection_ref = Ref}};
391+
State#state{ connection_ref = Ref};
392392
{error, Reason}->
393393
lager:warning("Error connecting to remote ~p (ignoring as we're reconnecting)", [Reason]),
394-
{noreply, State}
394+
State
395395
end.
396396

397397

0 commit comments

Comments
 (0)