Adding environment variables to override hapi properties file settings
This commit is contained in:
@@ -138,6 +138,7 @@ public class HapiProperties {
|
|||||||
if (overrideProps != null) {
|
if (overrideProps != null) {
|
||||||
properties.putAll(overrideProps);
|
properties.putAll(overrideProps);
|
||||||
}
|
}
|
||||||
|
properties.putAll(System.getenv());
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user