Skip to content

Commit

Permalink
fix otlp external example lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jtescher committed Feb 27, 2022
1 parent 8f53c57 commit f9c3728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/external-otlp-tonic-tokio/src/main.rs
Expand Up @@ -47,7 +47,7 @@ fn init_tracer() -> Result<sdktrace::Tracer, TraceError> {
.map(|(name, value)| {
let header_name = name
.strip_prefix(HEADER_PREFIX)
.map(|h| h.replace("_", "-"))
.map(|h| h.replace('_', "-"))
.map(|h| h.to_ascii_lowercase())
.unwrap();
(header_name, value)
Expand Down

0 comments on commit f9c3728

Please sign in to comment.