Skip to content

Commit

Permalink
Merge pull request #141 from nandhu-kumar/develop
Browse files Browse the repository at this point in the history
MOSIP-37807 | Done changes to accomodate configmaps props
  • Loading branch information
ckm007 authored Nov 27, 2024
2 parents 17583e7 + 2e05ee0 commit 2ae629b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public static void init() {
Properties props = getproperties(path);
// Convert Properties to Map and add to moduleSpecificPropertiesMap
for (String key : props.stringPropertyNames()) {
moduleSpecificPropertiesMap.put(key, props.getProperty(key));
String value = System.getenv(key) == null ? props.getProperty(key) : System.getenv(key);
moduleSpecificPropertiesMap.put(key, value);
}
} catch (Exception e) {
LOGGER.error(e.getMessage());
Expand Down

0 comments on commit 2ae629b

Please sign in to comment.