Skip to content

Commit 6642f4d

Browse files
committed
nit: fix comment
1 parent 5a666d8 commit 6642f4d

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
@@ -568,10 +568,10 @@ private void OnRoutingEndpointMatched(object arg)
568568
// But instead we re-extract them in the MVC endpoint as these are MVC
569569
// constructs. this is likely marginally less efficient, but simplifies the
570570
// already complex logic in the MVC handler
571-
// Overwrite the route in the parent span
572571
trackingFeature.ResourceName = resourceName;
573572
if (isFirstExecution)
574573
{
574+
// Overwrite the route in the parent span
575575
rootSpan.ResourceName = resourceName;
576576
tags.AspNetCoreRoute = normalizedRoute;
577577
}

0 commit comments

Comments
 (0)