Skip to content

Commit

Permalink
ONECOND-2164
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeetanadgir committed Feb 2, 2023
1 parent dcee9e5 commit a20238f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ public int getIntValue(String key) throws Exception {
* @throws Exception
*/
public Map<String, String> getConfigs() throws Exception {
if (appCache.getCurrentCache().isEmpty()) {
Map<String, String> configValues = appConfigDAO.getConfigs();
configValues.entrySet().forEach(configValue -> appCache.put(configValue.getKey(), StrSubstitutor.replace(configValue.getValue(), System.getenv()), TTL_SECONDS));
return appCache.getCurrentCache();
} else {
return appCache.getCurrentCache();
}
}

/**
Expand Down

0 comments on commit a20238f

Please sign in to comment.