Skip to content

Commit fe8e724

Browse files
committed
nit: fix comment
1 parent 8f3a707 commit fe8e724

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tracer/src/Datadog.Trace/DiagnosticListeners/AspNetCoreDiagnosticObserver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,10 @@ private void OnRoutingEndpointMatched(object arg)
570570
// But instead we re-extract them in the MVC endpoint as these are MVC
571571
// constructs. this is likely marginally less efficient, but simplifies the
572572
// already complex logic in the MVC handler
573-
// Overwrite the route in the parent span
574573
trackingFeature.ResourceName = resourceName;
575574
if (isFirstExecution)
576575
{
576+
// Overwrite the route in the parent span
577577
rootSpan.ResourceName = resourceName;
578578
tags.AspNetCoreRoute = normalizedRoute;
579579
}

0 commit comments

Comments
 (0)