Skip to content

Commit

Permalink
Change init() -spec from R14B to R13B
Browse files Browse the repository at this point in the history
  • Loading branch information
slfritchie committed Nov 24, 2010
1 parent e6f6db9 commit 010fe20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/riak_err_sup.erl
Expand Up @@ -34,7 +34,9 @@
start_link() ->
supervisor:start_link({local, ?SERVER}, ?MODULE, []).

-spec init([]) -> {ok, {{one_for_one, 1000, 3600}, [supervisor:child_spec()]}}.
% R14B spec is commented, use R13B spec for now.
%-spec init([]) -> {ok, {{one_for_one, 1000, 3600}, [supervisor:child_spec()]}}.
-spec init([]) -> {ok, {{one_for_one, 1000, 3600}, [tuple()]}}.
init([]) ->
RestartStrategy = one_for_one,
MaxRestarts = 1000,
Expand Down

0 comments on commit 010fe20

Please sign in to comment.