- Add ability to test for nested non-existent keys
- Add test cases for nested null values
- Minimalist fix for nested null key test cases
- Add missing metadata to integration test
Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
log.Printf("Warning: Merging destination map for chart '%s'. Cannot overwrite table item '%s', with non table value: %v",chartName,key,val)
log.Printf("Warning: Merging destination map for chart '%s'. Cannot overwrite table item '%s', with non table value: %v",chartName,key,val)
}
}
continue
continue
}elseifdv,ok:=dst[key];ok &&istable(dv){
}elseif ok &&istable(dv){
log.Printf("Warning: Merging destination map for chart '%s'. The destination item '%s' is a table and ignoring the source '%s' as it has a non-table value of: %v",chartName,key,key,val)
log.Printf("Warning: Merging destination map for chart '%s'. The destination item '%s' is a table and ignoring the source '%s' as it has a non-table value of: %v",chartName,key,key,val)
continue
continue
}elseif!ok{// <- ok is still in scope from preceding conditional.
}elseif!ok{// <- ok is still in scope from preceding conditional.