From 010fe20cc79acaa64971dd31eee67100248c40b6 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Wed, 24 Nov 2010 17:03:15 -0600 Subject: [PATCH] Change init() -spec from R14B to R13B --- src/riak_err_sup.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/riak_err_sup.erl b/src/riak_err_sup.erl index ea1582d..e8c2a6a 100644 --- a/src/riak_err_sup.erl +++ b/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,