Skip to content

Commit

Permalink
update to use register instead of register_vnode_module
Browse files Browse the repository at this point in the history
  • Loading branch information
aschepis committed Dec 22, 2011
1 parent e5d4287 commit 4e47bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riak_core_app.erl
Expand Up @@ -12,7 +12,7 @@
start(_StartType, _StartArgs) ->
case {{appid}}_sup:start_link() of
{ok, Pid} ->
ok = riak_core:register_vnode_module({{appid}}_vnode),
ok = riak_core:register([{vnode_module, {{appid}}_vnode}]),
ok = riak_core_ring_events:add_guarded_handler({{appid}}_ring_event_handler, []),
ok = riak_core_node_watcher_events:add_guarded_handler({{appid}}_node_event_handler, []),
ok = riak_core_node_watcher:service_up({{appid}}, self()),
Expand Down

0 comments on commit 4e47bd3

Please sign in to comment.