mirror of
https://github.com/containous/traefik.git
synced 2025-01-11 05:17:52 +03:00
fixes golint error
This commit is contained in:
parent
71f160dddc
commit
895f3cc109
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user