From bb12e1c48ce2b048fa3a252b9d1c0bce01451e00 Mon Sep 17 00:00:00 2001 From: emile Date: Thu, 24 Sep 2015 22:17:40 +0200 Subject: [PATCH] URL case corrections --- configuration.go | 2 +- templates/configuration.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.go b/configuration.go index 113563d8d..a50b97701 100644 --- a/configuration.go +++ b/configuration.go @@ -31,7 +31,7 @@ type Backend struct { } type Server struct { - URL string `json:"Url"` + URL string Weight int } diff --git a/templates/configuration.tmpl b/templates/configuration.tmpl index ff71ed6d7..d3768e9c3 100644 --- a/templates/configuration.tmpl +++ b/templates/configuration.tmpl @@ -69,7 +69,7 @@ {{range $keyServers, $valueServers := $valueBackends.Servers}} {{$keyServers}} - {{$valueServers.Url}} + {{$valueServers.URL}} {{$valueServers.Weight}} {{end}}