Skip to content

Commit 0d3bfb3

Browse files
committed
Merge pull request #667 from basho/bugfix/im/rtsource_conn_state
Remove extraneous noreply from riak_repl2_rtsource_conn:reconnect Reviewed-by: lordnull
2 parents ac41de9 + 4ab5221 commit 0d3bfb3

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)