consul/kv.tmpl: weight default value should be a int (#826)
* consul/kv.tmpl: weight default value should be a int Fix #821 * Use 0 as default weight in all backends
This commit is contained in:
parent
fe1b982d13
commit
a8cb905255
8 changed files with 34 additions and 34 deletions
|
@ -455,7 +455,7 @@ func (provider *Docker) getWeight(container dockerData) string {
|
|||
if label, err := getLabel(container, "traefik.weight"); err == nil {
|
||||
return label
|
||||
}
|
||||
return "1"
|
||||
return "0"
|
||||
}
|
||||
|
||||
func (provider *Docker) getSticky(container dockerData) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue