Use default frontend priority of zero.

This commit is contained in:
Timo Reimann 2017-08-18 16:14:03 +02:00 committed by Traefiker
parent 14a0d66410
commit b80ecd51a7
2 changed files with 14 additions and 70 deletions

View file

@ -326,7 +326,7 @@ func getRuleForPath(pa v1beta1.HTTPIngressPath, i *v1beta1.Ingress) string {
}
func (p *Provider) getPriority(path v1beta1.HTTPIngressPath, i *v1beta1.Ingress) int {
priority := len(path.Path)
priority := 0
priorityRaw, ok := i.Annotations[types.LabelFrontendPriority]
if ok {