forked from Ivasoft/traefik
missed a cherry pick, good start :=/
This commit is contained in:
committed by
Emile Vauge
parent
c9d4c5ae3e
commit
81fddb4ccf
@@ -448,7 +448,7 @@ func (provider *Docker) getWeight(container dockerData) 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 "false"
|
||||
|
||||
Reference in New Issue
Block a user