1
0
Fork 0

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:
Kristian Klausen 2016-11-23 14:49:55 +01:00 committed by Emile Vauge
parent fe1b982d13
commit a8cb905255
8 changed files with 34 additions and 34 deletions

View file

@ -32,7 +32,7 @@
{{range $servers}}
[backends."{{Last $backend}}".servers."{{Last .}}"]
url = "{{Get "" . "/url"}}"
weight = {{Get "" . "/weight"}}
weight = {{Get "0" . "/weight"}}
{{end}}
{{end}}