From de016868319805bae38a13598c1cd5fb4ef85b82 Mon Sep 17 00:00:00 2001 From: chriss-de Date: Thu, 26 Jan 2023 16:45:48 +0100 Subject: [PATCH] default has to be false --- .../ingress/annotations/disableproxyintercepterrors/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ingress/annotations/disableproxyintercepterrors/main.go b/internal/ingress/annotations/disableproxyintercepterrors/main.go index b71bb0c2c..245b1cb93 100644 --- a/internal/ingress/annotations/disableproxyintercepterrors/main.go +++ b/internal/ingress/annotations/disableproxyintercepterrors/main.go @@ -35,8 +35,8 @@ func (pie disableProxyInterceptErrors) Parse(ing *networking.Ingress) (interface // A missing annotation is not a problem, just use the default if err == errors.ErrMissingAnnotations { - return true, nil - // default is true and only matters when "custom-http-errors" is also set + return false, nil + // default is false } return val, nil