mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix null merge
(cherry-picked from commit c1175a4106)
Signed-off-by: Ben Foster <bpfoster@gmail.com>
This commit is contained in:
parent
ad28cfd058
commit
f0b699eabb
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