fix: start sup

This commit is contained in:
DDDHuang 2021-08-25 11:17:02 +08:00 committed by turtleDeng
parent aa6f1ac88d
commit b13ae50bed
1 changed files with 2 additions and 1 deletions

View File

@ -21,8 +21,9 @@
-export([start/2, stop/1]). -export([start/2, stop/1]).
start(_StartType, _StartArgs) -> start(_StartType, _StartArgs) ->
{ok, Sup} = emqx_auto_subscribe_sup:start_link(),
ok = emqx_auto_subscribe:load(), ok = emqx_auto_subscribe:load(),
emqx_auto_subscribe_sup:start_link(). {ok, Sup}.
stop(_State) -> stop(_State) ->
ok. ok.