Skip to content

Commit 8e44e6b

Browse files
committed
update
1 parent 54ac27e commit 8e44e6b

File tree

1 file changed

+1
-1
lines changed
  • databricks-sdk-java/src/main/java/com/databricks/sdk/core

1 file changed

+1
-1
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public EnvVar(String name, String expectedValue) {
180180
}
181181

182182
public boolean detect() {
183-
String value = System.getProperty(name);
183+
String value = System.getenv(name);
184184
return value != null && (expectedValue.isEmpty() || value.equals(expectedValue));
185185
}
186186
}

0 commit comments

Comments
 (0)