Skip to content

Commit e5394b8

Browse files
fix: remove unused variables in test functions
- Remove unused local_parent and remote_parent variables - These were left over from the refactoring to use boolean parameters - Fixes compilation errors in CI
1 parent 9008ada commit e5394b8

File tree

1 file changed

+0
-16
lines changed
  • opentelemetry-proto/src/transform

1 file changed

+0
-16
lines changed

opentelemetry-proto/src/transform/trace.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,6 @@ mod span_flags_tests {
250250

251251
#[test]
252252
fn test_span_transformation_with_flags() {
253-
let local_parent = SpanContext::new(
254-
TraceId::from(123),
255-
SpanId::from(456),
256-
TraceFlags::default(),
257-
false,
258-
TraceState::default(),
259-
);
260-
261253
let span_data = SpanData {
262254
span_context: SpanContext::new(
263255
TraceId::from(789),
@@ -286,14 +278,6 @@ mod span_flags_tests {
286278

287279
#[test]
288280
fn test_span_transformation_with_remote_parent() {
289-
let remote_parent = SpanContext::new(
290-
TraceId::from(123),
291-
SpanId::from(456),
292-
TraceFlags::default(),
293-
true, // is_remote = true
294-
TraceState::default(),
295-
);
296-
297281
let span_data = SpanData {
298282
span_context: SpanContext::new(
299283
TraceId::from(789),

0 commit comments

Comments
 (0)