fix(emqx_rule_engine_sup): discard ets:new return value
This commit is contained in:
parent
62e0a21ad0
commit
5bb1da5896
|
@ -31,8 +31,8 @@ start_link() ->
|
||||||
|
|
||||||
init([]) ->
|
init([]) ->
|
||||||
Opts = [public, named_table, set, {read_concurrency, true}],
|
Opts = [public, named_table, set, {read_concurrency, true}],
|
||||||
ets:new(?ACTION_INST_PARAMS_TAB, [{keypos, #action_instance_params.id}|Opts]),
|
_ = ets:new(?ACTION_INST_PARAMS_TAB, [{keypos, #action_instance_params.id}|Opts]),
|
||||||
ets:new(?RES_PARAMS_TAB, [{keypos, #resource_params.id}|Opts]),
|
_ = ets:new(?RES_PARAMS_TAB, [{keypos, #resource_params.id}|Opts]),
|
||||||
Registry = #{id => emqx_rule_registry,
|
Registry = #{id => emqx_rule_registry,
|
||||||
start => {emqx_rule_registry, start_link, []},
|
start => {emqx_rule_registry, start_link, []},
|
||||||
restart => permanent,
|
restart => permanent,
|
||||||
|
|
Loading…
Reference in New Issue