Skip to content

Commit f1256b1

Browse files
Update apps/opentelemetry/src/otel_resource.erl
Co-authored-by: Tristan Sloughter <[email protected]>
1 parent f3d0e14 commit f1256b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/opentelemetry/src/otel_resource.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ attributes(_) ->
107107

108108
%% @doc Returns `true' if `Key' is valid and part of the given resource.
109109
-spec is_key(key(), t()) -> boolean().
110-
is_key(Key, #resource{attributes=Attributes}) ->
111-
case try_check_key(Key, false) of
110+
is_key(K, #resource{attributes=Attributes}) ->
111+
case try_check_key(K, false) of
112112
{true, Key} ->
113113
maps:is_key(Key, otel_attributes:map(Attributes));
114114
_ ->

0 commit comments

Comments
 (0)