Permalink
Browse files

Change init() -spec from R14B to R13B

  • Loading branch information...
1 parent e6f6db9 commit 010fe20cc79acaa64971dd31eee67100248c40b6 @slfritchie slfritchie committed Nov 24, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/riak_err_sup.erl
View
4 src/riak_err_sup.erl
@@ -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,

0 comments on commit 010fe20

Please sign in to comment.