Merge pull request #1687 from aledbf/fix-merge

Fix use merge of annotations
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-11-11 15:58:50 -03:00 committed by GitHub
commit c64e9aea7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ func (e Extractor) Extract(ing *extensions.Ingress) *Ingress {
}
}
err := mergo.Map(pia, data)
err := mergo.MapWithOverwrite(pia, data)
if err != nil {
glog.Errorf("unexpected error merging extracted annotations: %v", err)
}