Remove unused $index variable

This commit is contained in:
Mike Dillon 2014-11-25 21:59:09 -08:00
parent 73c4afbd22
commit ac423a37e9

View file

@ -37,7 +37,7 @@ server {
{{ define "upstream" }}
upstream {{ .Host }}{{ .Suffix }} {
{{ range $index, $container := .Containers }}
{{ range $container := .Containers }}
{{ $addrLen := len $container.Addresses }}
{{/* If only 1 port exposed, use that */}}
{{ if eq $addrLen 1 }}