fix(emqx_auth_jwt_app): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-20 13:32:10 +01:00 committed by Zaiming Shi
parent d8c9547a5e
commit dc27900260
1 changed files with 1 additions and 2 deletions

View File

@ -33,11 +33,10 @@ start(_Type, _Args) ->
{ok, Pid} = start_auth_server(jwks_svr_options()), {ok, Pid} = start_auth_server(jwks_svr_options()),
ok = emqx_auth_jwt:register_metrics(), ok = emqx_auth_jwt:register_metrics(),
AuthEnv0 = auth_env(), AuthEnv0 = auth_env(),
AuthEnv1 = AuthEnv0#{pid => Pid}, AuthEnv1 = AuthEnv0#{pid => Pid},
emqx:hook('client.authenticate', {emqx_auth_jwt, check, [AuthEnv1]}), _ = emqx:hook('client.authenticate', {emqx_auth_jwt, check, [AuthEnv1]}),
{ok, Sup, AuthEnv1}. {ok, Sup, AuthEnv1}.
stop(AuthEnv) -> stop(AuthEnv) ->