From 4b76cb4318af089f7b306f75359463a55b58d37c Mon Sep 17 00:00:00 2001 From: Emile Vauge Date: Tue, 12 Apr 2016 09:49:37 +0200 Subject: [PATCH] Fix period in frontend name in KV store --- templates/kv.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/kv.tmpl b/templates/kv.tmpl index 97793784f..168ba0e5c 100644 --- a/templates/kv.tmpl +++ b/templates/kv.tmpl @@ -27,7 +27,7 @@ [frontends]{{range $frontends}} {{$frontend := Last .}} {{$entryPoints := SplitGet . "/entrypoints"}} - [frontends.{{$frontend}}] + [frontends."{{$frontend}}"] backend = "{{Get "" . "/backend"}}" passHostHeader = {{Get "false" . "/passHostHeader"}} entryPoints = [{{range $entryPoints}} @@ -35,7 +35,7 @@ {{end}}] {{$routes := List . "/routes/"}} {{range $routes}} - [frontends.{{$frontend}}.routes.{{Last .}}] + [frontends."{{$frontend}}".routes."{{Last .}}"] rule = "{{Get "" . "/rule"}}" {{end}} {{end}}