From 5c8ff086f17454d7f1b8c3cd9dac6bbecdb65a23 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Wed, 19 Oct 2016 09:18:55 +0200 Subject: [PATCH] Fix whitespace issues after merge --- nginx.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.tmpl b/nginx.tmpl index c48c652..bc0a69f 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -91,12 +91,12 @@ upstream {{ $host }} { {{/* If only 1 port exposed, use that */}} {{ if eq $addrLen 1 }} {{ $address := index $container.Addresses 0 }} - {{ template "upstream" (dict "Container" $container "Address" $address "Network" $containerNetwork "Weight" $weight) }} + {{ template "upstream" (dict "Container" $container "Address" $address "Network" $containerNetwork "Weight" $weight) }} {{/* If more than one port exposed, use the one matching VIRTUAL_PORT env var, falling back to standard web port 80 */}} {{ else }} {{ $port := coalesce $container.Env.VIRTUAL_PORT "80" }} {{ $address := where $container.Addresses "Port" $port | first }} - {{ template "upstream" (dict "Container" $container "Address" $address "Network" $containerNetwork "Weight" $weight) }} + {{ template "upstream" (dict "Container" $container "Address" $address "Network" $containerNetwork "Weight" $weight) }} {{ end }} {{ end }} {{ end }}