Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dvic committed Aug 3, 2021
1 parent 055afa2 commit 99633d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/opentelemetry/test/static_sampler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
%% sampler returns the value from the Opts map based on the SpanName or `NOT_RECORD'
setup(Opts) ->
otel_sampler:new(
fun(_, _, _, SpanName, _, _, Opts1) -> {maps:get(SpanName, Opts1, ?DROP), [], []} end, <<"StaticSamplerr">>,
fun(_, _, _, SpanName, _, _, Opts1) -> {maps:get(SpanName, Opts1, ?DROP), [], []} end,
<<"StaticSampler">>,
Opts
).

0 comments on commit 99633d7

Please sign in to comment.