From 7965d112f04b33198d2fec859895b99dee956915 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Fri, 23 Mar 2018 08:42:28 -0300 Subject: [PATCH] Fix grpc json tag name --- internal/ingress/controller/config/config.go | 2 +- internal/ingress/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ingress/controller/config/config.go b/internal/ingress/controller/config/config.go index 73141e953a..b8f38fda76 100644 --- a/internal/ingress/controller/config/config.go +++ b/internal/ingress/controller/config/config.go @@ -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 diff --git a/internal/ingress/types.go b/internal/ingress/types.go index 279a641ab3..dcc3b71bdd 100644 --- a/internal/ingress/types.go +++ b/internal/ingress/types.go @@ -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