Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix a typo in tcp_mon init #325

Merged
merged 1 commit into from

2 participants

@Vagabond

No description provided.

@metadave

+1, eunit passes, EE starts

@metadave metadave merged commit 6a8a336 into from
@seancribbs seancribbs deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 22, 2013
  1. @Vagabond

    Fix a typo in tcp_mon init

    Vagabond authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/riak_core_tcp_mon.erl
View
5 src/riak_core_tcp_mon.erl
@@ -172,9 +172,8 @@ init(Props) ->
clear_after = proplists:get_value(clear_after, Props, ?DEFAULT_LIMIT)},
DistCtrl = erlang:system_info(dist_ctrl),
State = lists:foldl(fun({Node,Port}, DatState) ->
- {noreply, add_dist_conn(Node, Port, DatState)}
-
- end, State0, DistCtrl),
+ add_dist_conn(Node, Port, DatState)
+ end, State0, DistCtrl),
{ok, schedule_tick(State)}.
handle_call(status, _From, State = #state{conns = Conns,
Something went wrong with that request. Please try again.