Skip to content

Commit b1aff1b

Browse files
Apply backward-compatible span suppression config rename in AgentInstaller
1 parent 83f03ad commit b1aff1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentInstaller.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@ private static void installEarlyInstrumentation(
284284
}
285285

286286
private static void copyNecessaryConfigToSystemProperties(ConfigProperties config) {
287-
for (String property :
288-
asList("otel.instrumentation.common.experimental.span-suppression-strategy")) {
287+
for (String property : asList("otel.instrumentation.common.experimental.span-suppression-strategy")) {
289288
String value = config.getString(property);
290289
if (value != null) {
291290
System.setProperty(property, value);

0 commit comments

Comments
 (0)