fix(emqx_auth_http_app): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-15 22:33:41 +01:00 committed by Zaiming Shi
parent 18ae158f45
commit db25660497
1 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,8 @@ start(_StartType, _StartArgs) ->
ok -> ok ->
{ok, PoolOpts} = application:get_env(?APP, pool_opts), {ok, PoolOpts} = application:get_env(?APP, pool_opts),
{ok, Sup} = emqx_http_client_sup:start_link(?APP, ssl(inet(PoolOpts))), {ok, Sup} = emqx_http_client_sup:start_link(?APP, ssl(inet(PoolOpts))),
with_env(auth_req, fun load_auth_hook/1), _ = with_env(auth_req, fun load_auth_hook/1),
with_env(acl_req, fun load_acl_hook/1), _ = with_env(acl_req, fun load_acl_hook/1),
{ok, Sup}; {ok, Sup};
{error, Reason} -> {error, Reason} ->
{error, Reason} {error, Reason}