diff --git a/autogen/gentemplates/gen.go b/autogen/gentemplates/gen.go index 2eb30a08e..e6c160953 100644 --- a/autogen/gentemplates/gen.go +++ b/autogen/gentemplates/gen.go @@ -135,7 +135,7 @@ var _templatesDockerTmpl = []byte(`{{$backendServers := .Servers}} method = "{{getLoadBalancerMethod $backend}}" sticky = {{getSticky $backend}} {{if hasStickinessLabel $backend}} - [backends.backend-{{$backendName}}.loadBalancer.stickiness] + [backends.backend-{{$backendName}}.loadbalancer.stickiness] cookieName = "{{getStickinessCookieName $backend}}" {{end}} {{end}} diff --git a/templates/docker.tmpl b/templates/docker.tmpl index e4c21bdc0..8914ea859 100644 --- a/templates/docker.tmpl +++ b/templates/docker.tmpl @@ -10,7 +10,7 @@ method = "{{getLoadBalancerMethod $backend}}" sticky = {{getSticky $backend}} {{if hasStickinessLabel $backend}} - [backends.backend-{{$backendName}}.loadBalancer.stickiness] + [backends.backend-{{$backendName}}.loadbalancer.stickiness] cookieName = "{{getStickinessCookieName $backend}}" {{end}} {{end}}