Skip to content

Commit 4092c21

Browse files
committed
XXX more proof why that hack is gross
1 parent 1a5061c commit 4092c21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dropshot/src/websocket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ mod tests {
407407
},
408408
request_id: "".to_string(),
409409
log: log.clone(),
410+
#[cfg(feature = "otel-tracing")]
411+
span_context: opentelemetry::trace::SpanContext::empty_context(),
410412
};
411413
let fut = WebsocketUpgrade::from_request(&rqctx, request);
412414
tokio::time::timeout(Duration::from_secs(1), fut)

0 commit comments

Comments
 (0)