fix(emqx.erl): Dialyzer warnings
This commit is contained in:
parent
c8b866dc63
commit
b9b20ba268
|
@ -184,7 +184,7 @@ hook(HookPoint, Action, InitArgs) when is_list(InitArgs) ->
|
||||||
hook(HookPoint, Action, Filter, Priority) ->
|
hook(HookPoint, Action, Filter, Priority) ->
|
||||||
emqx_hooks:add(HookPoint, Action, Filter, Priority).
|
emqx_hooks:add(HookPoint, Action, Filter, Priority).
|
||||||
|
|
||||||
-spec(unhook(emqx_hooks:hookpoint(), function() | {module(), atom()}) -> ok).
|
-spec(unhook(emqx_hooks:hookpoint(), fun() | {module(), atom()}) -> ok).
|
||||||
unhook(HookPoint, Action) ->
|
unhook(HookPoint, Action) ->
|
||||||
emqx_hooks:del(HookPoint, Action).
|
emqx_hooks:del(HookPoint, Action).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue