Skip to content

Commit 41a785a

Browse files
committed
fix helper
1 parent 4edf7ea commit 41a785a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/hibernate/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/hibernate/ExperimentalTestHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public class ExperimentalTestHelper {
2222
@Nullable
2323
public static String experimental(String value) {
2424
if (isEnabled) {
25-
return null;
25+
return value;
2626
}
27-
return value;
27+
return null;
2828
}
2929

3030
public static AttributeAssertion experimentalSatisfies(

0 commit comments

Comments
 (0)