Skip to content

Commit 5071d55

Browse files
dougqhdatadog-datadog-prod-us1-2[bot]devflow.devflow-routing-intake
authored
APMLP-1263 replace TagMap.put with set (#11106)
APMLP-1263 replace TagMap.put with set Co-authored-by: dougqh <dougqh@gmail.com> Merge branch 'master' into dd/apmlp-1263-tagmap-set-coretracer Co-authored-by: datadog-datadog-prod-us1-2[bot] <261164178+datadog-datadog-prod-us1-2[bot]@users.noreply.github.com> Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
1 parent 6ec6716 commit 5071d55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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
@@ -904,7 +904,7 @@ private CoreTracer(
904904
this.allowInferredServices = SpanNaming.instance().namingSchema().allowInferredServices();
905905
if (profilingContextIntegration != ProfilingContextIntegration.NoOp.INSTANCE) {
906906
TagMap tmp = TagMap.fromMap(localRootSpanTags);
907-
tmp.put(PROFILING_CONTEXT_ENGINE, profilingContextIntegration.name());
907+
tmp.set(PROFILING_CONTEXT_ENGINE, profilingContextIntegration.name());
908908
this.localRootSpanTags = tmp.freeze();
909909
} else {
910910
this.localRootSpanTags = TagMap.fromMapImmutable(localRootSpanTags);

0 commit comments

Comments
 (0)