Fix issue with label traefik.backend.loadbalancer.stickiness.cookieName
This commit is contained in:
parent
8fe5c22075
commit
aae17c817b
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func (p *Provider) hasStickinessLabel(service rancherData) bool {
|
|||
return errStickiness == nil && len(labelStickiness) > 0 && strings.EqualFold(strings.TrimSpace(labelStickiness), "true")
|
||||
}
|
||||
|
||||
func (p *Provider) getStickinessCookieName(service rancherData, backendName string) string {
|
||||
func (p *Provider) getStickinessCookieName(service rancherData) string {
|
||||
if label, err := getServiceLabel(service, types.LabelBackendLoadbalancerStickinessCookieName); err == nil {
|
||||
return label
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue