Skip to content

Commit 786df2d

Browse files
committed
clippy
1 parent 9783477 commit 786df2d

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-otlp/src/exporter/http

1 file changed

+1
-1
lines changed

opentelemetry-otlp/src/exporter/http/logs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl LogExporter for OtlpHttpClient {
1515

1616
let (body, content_type) = self
1717
.build_logs_export_body(batch)
18-
.map_err(|e| OTelSdkError::InternalFailure(e))?;
18+
.map_err(OTelSdkError::InternalFailure)?;
1919

2020
let mut request = http::Request::builder()
2121
.method(Method::POST)

0 commit comments

Comments
 (0)