Skip to content

Commit

Permalink
Fix stickiness bug due to template syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dahefanteng authored and traefiker committed Dec 19, 2017
1 parent b4dc965 commit 3142a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autogen/gentemplates/gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/kv.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
sticky = {{ getSticky . }}
{{if hasStickinessLabel $backend}}
[backends."{{$backendName}}".loadBalancer.stickiness]
cookieName = {{getStickinessCookieName $backend}}
cookieName = "{{getStickinessCookieName $backend}}"
{{end}}
{{end}}

Expand Down

0 comments on commit 3142a4f

Please sign in to comment.