Skip to content

Commit 225eb4a

Browse files
committed
Use new getAppliedConfigSetting in BaseApplication
1 parent 006b730 commit 225eb4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dd-smoke-tests/log-injection/src/main/java/datadog/smoketest/loginjection/BaseApplication.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public void run() throws InterruptedException {
4444
}
4545

4646
private static Object getLogInjectionEnabled() {
47-
ConfigSetting configSetting = ConfigCollector.get().collect().get(LOGS_INJECTION_ENABLED);
47+
ConfigSetting configSetting =
48+
ConfigCollector.get().getAppliedConfigSetting(LOGS_INJECTION_ENABLED);
4849
if (configSetting == null) {
4950
return null;
5051
}

0 commit comments

Comments
 (0)