Add some missing quotes in templates
This commit is contained in:
parent
3a2b421566
commit
b001b0da86
10 changed files with 88 additions and 88 deletions
|
@ -97,7 +97,7 @@
|
|||
{{if $errorPages }}
|
||||
[frontends."{{ $frontendName }}".errors]
|
||||
{{range $pageName, $page := $errorPages }}
|
||||
[frontends."{{ $frontendName }}".errors.{{ $pageName }}]
|
||||
[frontends."{{ $frontendName }}".errors."{{ $pageName }}"]
|
||||
status = [{{range $page.Status }}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
|
@ -112,7 +112,7 @@
|
|||
extractorFunc = "{{ $rateLimit.ExtractorFunc }}"
|
||||
[frontends."{{ $frontendName }}".rateLimit.rateSet]
|
||||
{{ range $limitName, $limit := $rateLimit.RateSet }}
|
||||
[frontends."{{ $frontendName }}".rateLimit.rateSet.{{ $limitName }}]
|
||||
[frontends."{{ $frontendName }}".rateLimit.rateSet."{{ $limitName }}"]
|
||||
period = "{{ $limit.Period }}"
|
||||
average = {{ $limit.Average }}
|
||||
burst = {{ $limit.Burst }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue