mirror of
https://github.com/traefik/traefik.git
synced 2025-09-27 08:41:16 +02:00
missed a cherry pick, good start :=/
This commit is contained in:
parent
c9d4c5ae3e
commit
81fddb4ccf
@ -448,7 +448,7 @@ func (provider *Docker) getWeight(container dockerData) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (provider *Docker) getSticky(container dockertypes.ContainerJSON) string {
|
func (provider *Docker) getSticky(container dockertypes.ContainerJSON) string {
|
||||||
if label, err := getLabel(container, "traefik.stickysession"); err == nil {
|
if _, err := getLabel(container, "traefik.stickysession"); err == nil {
|
||||||
return "true"
|
return "true"
|
||||||
}
|
}
|
||||||
return "false"
|
return "false"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user