From b0a63fe3ffcceb759a87ce658412e2fb18a4655d Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Fri, 23 Mar 2018 09:12:26 -0300 Subject: [PATCH] Fix grpc json tag name (#2246) --- 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 73141e953..b8f38fda7 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 279a641ab..dcc3b71bd 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