From 878f695cc5b09f64d91a74c4364f3ef1737ce892 Mon Sep 17 00:00:00 2001 From: veer Date: Tue, 24 Sep 2024 15:08:22 -0400 Subject: [PATCH] revert back syntax on extractpathwaycontext --- .../Datadog.Trace/DataStreamsMonitoring/DataStreamsManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tracer/src/Datadog.Trace/DataStreamsMonitoring/DataStreamsManager.cs b/tracer/src/Datadog.Trace/DataStreamsMonitoring/DataStreamsManager.cs index 1d8ab5ab0cec..f9be0e7a328f 100644 --- a/tracer/src/Datadog.Trace/DataStreamsMonitoring/DataStreamsManager.cs +++ b/tracer/src/Datadog.Trace/DataStreamsMonitoring/DataStreamsManager.cs @@ -73,9 +73,7 @@ public async Task DisposeAsync() /// public PathwayContext? ExtractPathwayContext(TCarrier headers) where TCarrier : IBinaryHeadersCollection - { - return IsEnabled ? DataStreamsContextPropagator.Instance.Extract(headers) : null; - } + => IsEnabled ? DataStreamsContextPropagator.Instance.Extract(headers) : null; /// /// Injects a into headers