From c682474fdf5fedac0132a2c6f4551eec28a431c6 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 6 Oct 2017 11:25:39 -0700 Subject: [PATCH] Fix stats auth indentation when auth is omitted (#594) #480 --- hack/docker/voyager/templates/haproxy.cfg | 2 +- hack/docker/voyager/templates/stats.cfg | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hack/docker/voyager/templates/haproxy.cfg b/hack/docker/voyager/templates/haproxy.cfg index 0c31c8ac3..ac04e6a07 100644 --- a/hack/docker/voyager/templates/haproxy.cfg +++ b/hack/docker/voyager/templates/haproxy.cfg @@ -14,7 +14,7 @@ {{ end }} {{- range $svc := .HTTPService }} -{{- template "http-frontend.cfg" $svc }} +{{ template "http-frontend.cfg" $svc }} {{ template "http-backend.cfg" $svc }} {{ end }} diff --git a/hack/docker/voyager/templates/stats.cfg b/hack/docker/voyager/templates/stats.cfg index 735f03389..58c133b9b 100644 --- a/hack/docker/voyager/templates/stats.cfg +++ b/hack/docker/voyager/templates/stats.cfg @@ -6,5 +6,4 @@ listen stats stats uri / {{ if .Username }} stats auth {{ .Username }}:{{ .PassWord }} - {{ end -}} - + {{ end }}