Skip to content

Commit afc1296

Browse files
authored
buildSpan -> singleSpanBuilder (#9995)
Fixed oversight where one overload of startSpan wasn't updated to use singleSpanBuilder
1 parent fb40aba commit afc1296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-trace-core/src/main/java/datadog/trace/core/CoreTracer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ public AgentSpan startSpan(
11091109
final CharSequence spanName,
11101110
final AgentSpanContext parent,
11111111
final long startTimeMicros) {
1112-
return buildSpan(instrumentationName, spanName)
1112+
return singleSpanBuilder(instrumentationName, spanName)
11131113
.ignoreActiveSpan()
11141114
.asChildOf(parent)
11151115
.withStartTimestamp(startTimeMicros)

0 commit comments

Comments
 (0)