1
0
Fork 0

missed a cherry pick, good start :=/

This commit is contained in:
Owen Marshall 2016-06-08 15:18:38 -04:00 committed by Emile Vauge
parent c9d4c5ae3e
commit 81fddb4ccf
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -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"