Skip to content

Commit

Permalink
CB-5323 less priority for .product.runtime.conf (#2754)
Browse files Browse the repository at this point in the history
Co-authored-by: mr-anton-t <[email protected]>
  • Loading branch information
alexander-skoblikov and mr-anton-t authored Jul 2, 2024
1 parent 1e2eee8 commit 042da7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ protected void readProductConfiguration(Map<String, Object> serverConfig, Gson g
try (Reader reader = new InputStreamReader(new FileInputStream(rtConfig), StandardCharsets.UTF_8)) {
var runtimeProductSettings = JSONUtils.parseMap(gson, reader);
var productSettings = serverConfiguration.getProductSettings();
productSettings.putAll(runtimeProductSettings);
Map<String, Object> flattenConfig = WebAppUtils.flattenMap(productSettings);
runtimeProductSettings.putAll(productSettings);
Map<String, Object> flattenConfig = WebAppUtils.flattenMap(runtimeProductSettings);
productSettings.clear();
productSettings.putAll(flattenConfig);
} catch (Exception e) {
Expand Down

0 comments on commit 042da7c

Please sign in to comment.