Skip to content

Commit 411a618

Browse files
committed
Fixed missing negation in setBox - causing some tests to fail
1 parent b026174 commit 411a618

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/DDSpanContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ private boolean precheckIntercept(String tag) {
811811
* tag interception
812812
*/
813813
private void setBox(String tag, Object box) {
814-
if (tagInterceptor.interceptTag(this, tag, box)) {
814+
if (!tagInterceptor.interceptTag(this, tag, box)) {
815815
synchronized (unsafeTags) {
816816
unsafeTags.set(tag, box);
817817
}

0 commit comments

Comments
 (0)