Skip to content

Commit 4e6a0ba

Browse files
committed
fix: remove unused SpanData import in async runtime tests
The test module imported SpanData but only used SpanBatch and SpanExporter. CI caught this via #[deny(warnings)].
1 parent d9da953 commit 4e6a0ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ mod tests {
455455
OTEL_BSP_MAX_QUEUE_SIZE_DEFAULT, OTEL_BSP_SCHEDULE_DELAY, OTEL_BSP_SCHEDULE_DELAY_DEFAULT,
456456
};
457457
use crate::trace::{BatchConfig, BatchConfigBuilder, InMemorySpanExporterBuilder};
458-
use crate::trace::{SpanBatch, SpanData, SpanExporter};
458+
use crate::trace::{SpanBatch, SpanExporter};
459459
use futures_util::Future;
460460
use std::fmt::Debug;
461461
use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};

0 commit comments

Comments
 (0)