Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Remove remaining references to #state.nodes
  • Loading branch information
kocolosk committed May 24, 2012
1 parent f92f9cc commit 57bb83e4818a0ddb1e3060c9b604b95f934cbf65
Showing 1 changed file with 2 additions and 2 deletions.
@@ -56,11 +56,11 @@ handle_call({get_node_info, Node, Key}, _From, State) ->
{reply, Resp, State};
handle_call({add_node, Node, NodeInfo}, _From, #state{nodes=Nodes} = State) ->
handle_call({add_node, Node, NodeInfo}, _From, State) ->
gen_event:notify(mem3_events, {add_node, Node}),
ets:insert(?MODULE, Node, NodeInfo),
{reply, ok, State};
handle_call({remove_node, Node}, _From, #state{nodes=Nodes} = State) ->
handle_call({remove_node, Node}, _From, State) ->
gen_event:notify(mem3_events, {remove_node, Node}),
ets:delete(?MODULE, Node),
{reply, ok, State};

0 comments on commit 57bb83e

Please sign in to comment.