fixes golint error
This commit is contained in:
parent
71f160dddc
commit
895f3cc109
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ func (provider *Kubernetes) loadIngresses(k8sClient k8s.Client) (*types.Configur
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(pa.Path) > 0 {
|
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) {
|
switch strings.ToLower(ruleType) {
|
||||||
case "pathprefixstrip":
|
case "pathprefixstrip":
|
||||||
|
|
Loading…
Reference in a new issue