Skip to content

Commit 383da45

Browse files
committed
Inline extension method
1 parent ba93347 commit 383da45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/src/Datadog.Trace/PlatformHelpers/AspNetCoreHttpRequestHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public Scope StartAspNetCorePipelineScope(Tracer tracer, Security security, Iast
123123
scope.Span.DecorateWebServerSpan(resourceName, httpMethod, host, url, userAgent, tags);
124124

125125
var headerTagsInternal = tracer.CurrentTraceSettings.Settings.HeaderTags;
126-
if (!headerTagsInternal.IsNullOrEmpty())
126+
if (headerTagsInternal.Count != 0)
127127
{
128128
AddHeaderTagsToSpan(scope.Span, request, tracer, headerTagsInternal);
129129
}

0 commit comments

Comments
 (0)