Skip to content

Commit

Permalink
Using the correct send_event call.
Browse files Browse the repository at this point in the history
  • Loading branch information
massung committed Dec 22, 2011
1 parent 315a866 commit 8dfd01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_core_vnode.erl
Expand Up @@ -136,7 +136,7 @@ init([Mod, Index, InitialInactivityTimeout]) ->
{ok, active, State2, InitialInactivityTimeout}.

handoff_error(Vnode, Err, Reason) ->
gen_fsm:send_all_state_event(Vnode, {handoff_error, Err, Reason}).
gen_fsm:send_event(Vnode, {handoff_error, Err, Reason}).

get_mod_index(VNode) ->
gen_fsm:sync_send_all_state_event(VNode, get_mod_index).
Expand Down

0 comments on commit 8dfd01b

Please sign in to comment.