Skip to content

Commit

Permalink
Merge pull request #98 from lavalamp/mempool
Browse files Browse the repository at this point in the history
disable one more union bit
  • Loading branch information
k8s-ci-robot committed Aug 17, 2019
2 parents 78536ba + 255b635 commit 6149e45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions merge/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,11 @@ func (s *Updater) Apply(liveObject, configObject *typed.TypedValue, version fiel
if err != nil {
return nil, fieldpath.ManagedFields{}, fmt.Errorf("failed to merge config: %v", err)
}
newObject, err = configObject.NormalizeUnionsApply(newObject)
if err != nil {
return nil, fieldpath.ManagedFields{}, err
if s.enableUnions {
newObject, err = configObject.NormalizeUnionsApply(newObject)
if err != nil {
return nil, fieldpath.ManagedFields{}, err
}
}
lastSet := managers[manager]
set, err := configObject.ToFieldSet()
Expand Down

0 comments on commit 6149e45

Please sign in to comment.