Skip to content

Commit

Permalink
fix npe
Browse files Browse the repository at this point in the history
  • Loading branch information
jackie-coming committed Nov 27, 2024
1 parent d07862e commit 99cf8fd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,14 @@ private List<ServiceDTO> getConfigServices() {

private Map<String, String> mergeConfigurations(Map<String, String> configurations,List<ConfigurationChange> configurationChanges) {
Map<String, String> newConfigurations = new HashMap<>();
if (configurationChanges == null) {
return newConfigurations;
}
if(configurations!=null){
Maps.newHashMap(configurations);
}

if (configurationChanges == null) {
return newConfigurations;
}

for (ConfigurationChange change : configurationChanges) {
switch (change.getConfigurationChangeType()) {
case ADDED:
Expand Down

0 comments on commit 99cf8fd

Please sign in to comment.