Fix use merge of annotations

This commit is contained in:
Manuel de Brito Fontes 2017-11-11 15:26:36 -03:00
parent 39c30853ae
commit 42dad7fa60

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 { if err != nil {
glog.Errorf("unexpected error merging extracted annotations: %v", err) glog.Errorf("unexpected error merging extracted annotations: %v", err)
} }