fix(emqx_auth_redis_app): Dialyzer warnings
This commit is contained in:
parent
0e24e59366
commit
b5e0386c98
|
@ -28,8 +28,8 @@
|
||||||
|
|
||||||
start(_StartType, _StartArgs) ->
|
start(_StartType, _StartArgs) ->
|
||||||
{ok, Sup} = emqx_auth_redis_sup:start_link(),
|
{ok, Sup} = emqx_auth_redis_sup:start_link(),
|
||||||
if_cmd_enabled(auth_cmd, fun load_auth_hook/1),
|
_ = if_cmd_enabled(auth_cmd, fun load_auth_hook/1),
|
||||||
if_cmd_enabled(acl_cmd, fun load_acl_hook/1),
|
_ = if_cmd_enabled(acl_cmd, fun load_acl_hook/1),
|
||||||
{ok, Sup}.
|
{ok, Sup}.
|
||||||
|
|
||||||
stop(_State) ->
|
stop(_State) ->
|
||||||
|
|
Loading…
Reference in New Issue