- 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>
(cherry picked from commit 5b9311d163)
release-2.14
Adam Eijdenberg7 years agocommitted byMartin Hickey
log.Printf("Warning: Merging destination map for chart '%s'. Cannot overwrite table item '%s', with non table value: %v",chartName,key,val)
}
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)
continue
}elseif!ok{// <- ok is still in scope from preceding conditional.