Fix grpc json tag name (#2246)
This commit is contained in:
parent
1f93a1ccad
commit
b0a63fe3ff
2 changed files with 2 additions and 2 deletions
|
@ -489,7 +489,7 @@ type Configuration struct {
|
||||||
// SyslogHost FQDN or IP address where the logs should be sent
|
// SyslogHost FQDN or IP address where the logs should be sent
|
||||||
SyslogHost string `json:"syslog-host"`
|
SyslogHost string `json:"syslog-host"`
|
||||||
// SyslogPort port
|
// SyslogPort port
|
||||||
SyslogPort int `json:"syslog-port",omitempty`
|
SyslogPort int `json:"syslog-port"`
|
||||||
|
|
||||||
// NoTLSRedirectLocations is a comma-separated list of locations
|
// NoTLSRedirectLocations is a comma-separated list of locations
|
||||||
// that should not get redirected to TLS
|
// that should not get redirected to TLS
|
||||||
|
|
|
@ -267,7 +267,7 @@ type Location struct {
|
||||||
Logs log.Config `json:"logs,omitempty"`
|
Logs log.Config `json:"logs,omitempty"`
|
||||||
// GRPC indicates if the kubernetes service exposes a gRPC interface
|
// GRPC indicates if the kubernetes service exposes a gRPC interface
|
||||||
// By default this is false
|
// By default this is false
|
||||||
GRPC bool `json:"logs,omitempty"`
|
GRPC bool `json:"grpc"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SSLPassthroughBackend describes a SSL upstream server configured
|
// SSLPassthroughBackend describes a SSL upstream server configured
|
||||||
|
|
Loading…
Reference in a new issue