Skip to content

Commit e01f857

Browse files
committed
cleanups
1 parent 01b1384 commit e01f857

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,15 +1038,15 @@ mod tests {
10381038
use std::time::{Duration, SystemTime};
10391039

10401040
let span_context = SpanContext::new(
1041-
TraceId::from_u128(123),
1042-
SpanId::from_u64(456),
1041+
TraceId::from(123),
1042+
SpanId::from(456),
10431043
TraceFlags::default(),
10441044
false,
10451045
TraceState::default(),
10461046
);
10471047
SpanData {
10481048
span_context,
1049-
parent_span_id: SpanId::from_u64(0),
1049+
parent_span_id: SpanId::from(0),
10501050
span_kind: SpanKind::Internal,
10511051
name: Cow::Borrowed("test_span"),
10521052
start_time: SystemTime::UNIX_EPOCH,

0 commit comments

Comments
 (0)