Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/node/core/src/args/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ impl TraceArgs {
/// Note: even though this function is async, it does not actually perform any async operations.
/// It's needed only to be able to initialize the gRPC transport of OTLP tracing that needs to
/// be called inside a tokio runtime context.
pub async fn init_otlp_tracing(
&mut self,
_layers: &mut Layers,
) -> eyre::Result<OtlpInitStatus> {
pub async fn init_otlp_tracing(&mut self, layers: &mut Layers) -> eyre::Result<OtlpInitStatus> {
#[cfg(not(feature = "otlp"))]
let _ = layers;
if let Some(endpoint) = self.otlp.as_mut() {
self.protocol.validate_endpoint(endpoint)?;

Expand Down