Browse files

Add cluster_info callback call to app start

  • Loading branch information...
1 parent 7cccf43 commit 1ebd29445bbb0f3bebea50e14bec48c3ea760748 @slfritchie slfritchie committed Nov 12, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/riak_core_app.erl
View
4 src/riak_core_app.erl
@@ -46,6 +46,10 @@ start(_StartType, _StartArgs) ->
throw({error, invalid_ring_state_dir})
end,
+ %% Register our cluster_info app callback modules, with catch if
+ %% the app is missing or packaging is broken.
+ catch cluster_info:register_app(riak_core_cinfo_basic),
+
%% Spin up the supervisor; prune ring files as necessary
case riak_core_sup:start_link() of
{ok, Pid} ->

0 comments on commit 1ebd294

Please sign in to comment.