Skip to content

Commit 8a113ad

Browse files
committed
Improve cloud environment detection logic
1 parent 4496df1 commit 8a113ad

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/java/com/datadog/ServerlessCompatAgent.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public static CloudEnvironment getEnvironment() {
7474
}
7575

7676
if (detected.isEmpty()) {
77-
log.error("No cloud environment detected");
7877
return CloudEnvironment.UNKNOWN;
7978
}
8079
if (detected.size() > 1) {
@@ -83,7 +82,6 @@ public static CloudEnvironment getEnvironment() {
8382
}
8483

8584
CloudEnvironment environment = detected.get(0);
86-
log.debug("Detected cloud environment: {}", environment);
8785
return environment;
8886
}
8987

0 commit comments

Comments
 (0)