Skip to content

Commit

Permalink
Fix stats auth indentation when auth is omitted (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Oct 6, 2017
1 parent 5241160 commit c682474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/docker/voyager/templates/haproxy.cfg
Expand Up @@ -14,7 +14,7 @@
{{ end }}

{{- range $svc := .HTTPService }}
{{- template "http-frontend.cfg" $svc }}
{{ template "http-frontend.cfg" $svc }}
{{ template "http-backend.cfg" $svc }}
{{ end }}

Expand Down
3 changes: 1 addition & 2 deletions hack/docker/voyager/templates/stats.cfg
Expand Up @@ -6,5 +6,4 @@ listen stats
stats uri /
{{ if .Username }}
stats auth {{ .Username }}:{{ .PassWord }}
{{ end -}}

{{ end }}

0 comments on commit c682474

Please sign in to comment.