Remove unused $index variable
This commit is contained in:
parent
73c4afbd22
commit
ac423a37e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue