Skip to content

Commit

Permalink
Fix grpc json tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Mar 23, 2018
1 parent 1f93a1c commit 7965d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/ingress/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/ingress/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7965d11

Please sign in to comment.