mirror of
https://github.com/helm/helm.git
synced 2026-02-20 16:35:55 -05:00
fix null merge
(cherry-picked from commitc1175a4106) Signed-off-by: Ben Foster <bpfoster@gmail.com> (cherry picked from commitf0b699eabb)
This commit is contained in:
parent
7cfb6e486d
commit
578564ee26
1 changed files with 5 additions and 0 deletions
|
|
@ -283,6 +283,11 @@ func coalesceTablesFullKey(printf printFn, dst, src map[string]interface{}, pref
|
|||
if dst == nil {
|
||||
return src
|
||||
}
|
||||
for key, val := range dst {
|
||||
if val == nil {
|
||||
src[key] = nil
|
||||
}
|
||||
}
|
||||
// Because dest has higher precedence than src, dest values override src
|
||||
// values.
|
||||
for key, val := range src {
|
||||
|
|
|
|||
Loading…
Reference in a new issue