mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 09:06:29 +02:00
fix: merge environment values by ovewriting with empty values (#1162)
Fixes #1154
This commit is contained in:
@@ -58,7 +58,7 @@ func (e *Environment) Merge(other *Environment) (*Environment, error) {
|
||||
}
|
||||
copy := e.DeepCopy()
|
||||
if other != nil {
|
||||
if err := mergo.Merge(©, other, mergo.WithOverride); err != nil {
|
||||
if err := mergo.Merge(©, other, mergo.WithOverride, mergo.WithOverwriteWithEmptyValue); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user