mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
use key map to iterate over parameters, not defaults key map
This commit is contained in:
parent
6e3bfac5c8
commit
2a6c0d5f34
@ -17,8 +17,8 @@ class ConfigurationMerger {
|
||||
|
||||
if(configs != null && configKeys){
|
||||
configs = configs.subMap(configKeys.keySet())
|
||||
for(String key : defaults.keySet())
|
||||
if(MapUtils.isMap(defaults[key]))
|
||||
for(String key : configKeys.keySet())
|
||||
if(MapUtils.isMap(configKeys[key]))
|
||||
merged[key] = merge(configs[key], configKeys[key], defaults[key])
|
||||
else if(configs[key] != null)
|
||||
merged[key] = configs[key]
|
||||
|
Loading…
Reference in New Issue
Block a user