We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c854643 commit 1d2449aCopy full SHA for 1d2449a
src/main/java/com/github/peterwippermann/cloudfoundry/connection/tester/CloudEnvironmentVariables.java
@@ -5,11 +5,11 @@ public class CloudEnvironmentVariables {
5
6
public static String getVariable(String key) {
7
// Standard way to read from CF's environment variables
8
- String property = System.getProperty(key);
9
- return property;
+ String envVar = System.getenv(key);
+ return envVar;
10
11
// Debug option to read a JVM's command-line argument
12
- // String cliArg = System.getenv(key);
+ // String cliArg = System.getProperty(key);
13
// return cliArg;
14
}
15
0 commit comments