URL case corrections

This commit is contained in:
emile 2015-09-24 22:17:40 +02:00
parent 21b876f3d4
commit bb12e1c48c
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ type Backend struct {
} }
type Server struct { type Server struct {
URL string `json:"Url"` URL string
Weight int Weight int
} }

View file

@ -69,7 +69,7 @@
{{range $keyServers, $valueServers := $valueBackends.Servers}} {{range $keyServers, $valueServers := $valueBackends.Servers}}
<tr> <tr>
<td>{{$keyServers}}</td> <td>{{$keyServers}}</td>
<td><code><A href="{{$valueServers.Url}}">{{$valueServers.Url}}</A></code></td> <td><code><A href="{{$valueServers.URL}}">{{$valueServers.URL}}</A></code></td>
<td>{{$valueServers.Weight}}</td> <td>{{$valueServers.Weight}}</td>
</tr> </tr>
{{end}} {{end}}