Skip to content

Commit d08febc

Browse files
Fix dialyze errors
1 parent b282721 commit d08febc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/oauth2_client/src/oauth2_client.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ get_opaque_token_signing_key(KeyId) ->
415415
List ->
416416
case proplists:get_value(id, List, undefined) of
417417
undefined -> {error, missing_opaque_token_signing_key};
418-
KeyId -> parse_signing_key_configuration(List);
418+
KeyId -> {ok, parse_signing_key_configuration(List)};
419419
_ -> {error, missing_opaque_token_signing_key}
420420
end
421421
end.
@@ -440,7 +440,7 @@ parse_signing_key_configuration(List) ->
440440
{error, _} = Error -> Error;
441441
{ok, Val} ->
442442
SK0#signing_key{
443-
key =Val
443+
key = Val
444444
}
445445
end
446446
end,

deps/rabbitmq_auth_backend_oauth2/src/rabbit_oauth2_provider.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ get_signing_key(KeyId, OAuthProviderId) ->
153153
undefined ->
154154
case oauth2_client:get_opaque_token_signing_key(KeyId) of
155155
{ok, SK} -> SK;
156-
{error, _} -> undefined
156+
{error, _} -> undefined
157157
end;
158158
V -> V
159159
end.

0 commit comments

Comments
 (0)