fixes golint error

This commit is contained in:
AlmogBaku 2016-05-17 16:22:37 +03:00
parent 71f160dddc
commit 895f3cc109

View file

@ -165,7 +165,7 @@ func (provider *Kubernetes) loadIngresses(k8sClient k8s.Client) (*types.Configur
}
}
if len(pa.Path) > 0 {
var ruleType string = i.Annotations["traefik.frontend.rule.type"]
ruleType := i.Annotations["traefik.frontend.rule.type"]
switch strings.ToLower(ruleType) {
case "pathprefixstrip":