From dc730c5e4014b2babd0eabdf7c0057b63f180299 Mon Sep 17 00:00:00 2001 From: Andrew Davidoff Date: Fri, 5 May 2023 13:36:53 +0000 Subject: [PATCH] Do not omit SkipAccessLogHTTPStatuses from json output --- internal/ingress/defaults/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ingress/defaults/main.go b/internal/ingress/defaults/main.go index 4c89dfb14..20619b3ca 100644 --- a/internal/ingress/defaults/main.go +++ b/internal/ingress/defaults/main.go @@ -111,7 +111,7 @@ type Backend struct { // The status strings provided are interpreted by an NGINX map as regex // This is useful with statuses like 2xx and 3xx that make "complex" reading the logs // By default this list is empty - SkipAccessLogHTTPStatuses []string `json:"skip-access-log-http-statuses,-"` + SkipAccessLogHTTPStatuses []string `json:"skip-access-log-http-statuses"` // Enables or disables the redirect (301) to the HTTPS port SSLRedirect bool `json:"ssl-redirect"`