From 8239e04a1967c2a08c731c9303dab87555a3e55e Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 11 Jan 2018 15:20:06 +0100 Subject: [PATCH] fix: typo in Docker template. --- autogen/gentemplates/gen.go | 2 +- templates/docker.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}}