Skip to content

Commit f04adcd

Browse files
Fix dialyze errors
1 parent fb54847 commit f04adcd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

deps/oauth2_client/src/oauth2_client.erl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,7 @@ map_proxy_to_httpc_option(ProxyOptions) ->
638638
case ProxyOptions of
639639
undefined -> [];
640640
Proxy -> case {Proxy#proxy_options.host, Proxy#proxy_options.port} of
641-
{undefined, 0} -> [];
642641
{_, 0} -> [];
643-
{undefined, _} -> [];
644642
{Host, Port} -> P = {{Host, Port},[]},
645643
[{proxy, P}]
646644
end

deps/rabbitmq_auth_backend_oauth2/src/uaa_jwt.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ add_signing_key(KeyId, Type, Value) ->
4242
end.
4343

4444
-spec update_jwks_signing_keys(oauth_provider()) -> ok | {error, term()}.
45-
update_jwks_signing_keys(#oauth_provider{id = Id, jwks_uri = JwksUrl,
46-
ssl_options = SslOptions, proxy_options = ProxyOptions} = OAuthProvider) ->
45+
update_jwks_signing_keys(#oauth_provider{id = Id} = OAuthProvider) ->
4746
rabbit_log:debug("Downloading signing keys from OauthProvider: ~tp",
4847
[Id]),
4948
case oauth2_client:get_jwks(OAuthProvider) of

0 commit comments

Comments
 (0)