Fix grpc json tag name (#2246)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-03-23 09:12:26 -03:00 committed by GitHub
parent 1f93a1ccad
commit b0a63fe3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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