Skip to content

Commit 38d6465

Browse files
KodrAusdjc
authored andcommitted
fix a missing import when http-proto is enabled without grpc-sys
1 parent 53cb06e commit 38d6465

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

opentelemetry-otlp/src/logs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ use {
2727
logs_service::ExportLogsServiceRequest as GrpcRequest,
2828
logs_service_grpc::LogsServiceClient as GrpcioLogServiceClient,
2929
},
30-
std::sync::Arc,
3130
};
3231

3332
#[cfg(feature = "http-proto")]
@@ -44,7 +43,7 @@ use {
4443
};
4544

4645
#[cfg(any(feature = "grpc-sys", feature = "http-proto"))]
47-
use std::collections::HashMap;
46+
use std::{collections::HashMap, sync::Arc};
4847

4948
use crate::exporter::ExportConfig;
5049
use crate::OtlpPipeline;

0 commit comments

Comments
 (0)