Skip to content

Commit

Permalink
fix: use macro names
Browse files Browse the repository at this point in the history
  • Loading branch information
Graborg authored Mar 18, 2024
1 parent 95c1a76 commit d7a2d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/languages/erlang/sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ description(_) ->
should_sample(_Ctx, _TraceId, _Links, _SpanName, _SpanKind, Attributes, ConfigAttributes) ->
ConfAttrPairs = maps:intersect_with(fun (_key, Attr, Conf) -> {Attr, Conf} end, Attributes, ConfigAttributes),
case lists:any(fun({_, {A, B}}) -> A == B end, maps:to_list(ConfAttrPairs)) of
true -> {drop, [], []};
_ -> {record_and_sample, [], []}
true -> {?DROP, [], []};
_ -> {?RECORD_AND_SAMPLE, [], []}
end
end.
```
Expand Down

0 comments on commit d7a2d1c

Please sign in to comment.