Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lyne committed Jun 27, 2022
1 parent 87df4c7 commit 8a7d27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/svix-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async fn main() {
opentelemetry::sdk::trace::config()
.with_sampler(
cfg.opentelemetry_sample_ratio
.map(|rate| opentelemetry::sdk::trace::Sampler::TraceIdRatioBased(rate))
.map(opentelemetry::sdk::trace::Sampler::TraceIdRatioBased)
.unwrap_or(opentelemetry::sdk::trace::Sampler::AlwaysOn),
)
.with_resource(opentelemetry::sdk::Resource::new(vec![
Expand Down

0 comments on commit 8a7d27b

Please sign in to comment.