Fix grpc json tag name

This commit is contained in:
Manuel de Brito Fontes 2018-03-23 08:42:28 -03:00
parent 1f93a1ccad
commit 7965d112f0
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 2 additions and 2 deletions

View file

@ -489,7 +489,7 @@ type Configuration struct {
// SyslogHost FQDN or IP address where the logs should be sent
SyslogHost string `json:"syslog-host"`
// SyslogPort port
SyslogPort int `json:"syslog-port",omitempty`
SyslogPort int `json:"syslog-port"`
// NoTLSRedirectLocations is a comma-separated list of locations
// that should not get redirected to TLS

View file

@ -267,7 +267,7 @@ type Location struct {
Logs log.Config `json:"logs,omitempty"`
// GRPC indicates if the kubernetes service exposes a gRPC interface
// By default this is false
GRPC bool `json:"logs,omitempty"`
GRPC bool `json:"grpc"`
}
// SSLPassthroughBackend describes a SSL upstream server configured