Pass supervisor's children to couch_epi
Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/46b58a3c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/46b58a3c Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mango/diff/46b58a3c Branch: refs/heads/2816-malformed-docs Commit: 46b58a3c53bc07db8b841fd55dc9fb32c1b6bb89 Parents: 19184f3 Author: ILYA Khlopotov <iil...@ca.ibm.com> Authored: Tue Sep 29 13:05:25 2015 -0700 Committer: ILYA Khlopotov <iil...@ca.ibm.com> Committed: Tue Sep 29 13:05:25 2015 -0700 ---------------------------------------------------------------------- src/mango_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/46b58a3c/src/mango_sup.erl ---------------------------------------------------------------------- diff --git a/src/mango_sup.erl b/src/mango_sup.erl index e7f014b..b0dedf1 100644 --- a/src/mango_sup.erl +++ b/src/mango_sup.erl @@ -21,4 +21,4 @@ start_link(Args) -> supervisor:start_link({local,?MODULE}, ?MODULE, Args). init([]) -> - {ok, {{one_for_one, 3, 10}, couch_epi:register_service(mango_epi)}}. + {ok, {{one_for_one, 3, 10}, couch_epi:register_service(mango_epi, [])}}.