From ae2d6d422014165d77afc1deb186c071603f18a0 Mon Sep 17 00:00:00 2001 From: chriss-de Date: Wed, 11 Jan 2023 09:12:15 +0100 Subject: [PATCH] fixed error when comparing locations --- pkg/apis/ingress/types_equals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/ingress/types_equals.go b/pkg/apis/ingress/types_equals.go index 310027335..fe01311c9 100644 --- a/pkg/apis/ingress/types_equals.go +++ b/pkg/apis/ingress/types_equals.go @@ -472,7 +472,7 @@ func (l1 *Location) Equal(l2 *Location) bool { return false } - if !l1.ProxyInterceptErrors != l2.ProxyInterceptErrors { + if l1.ProxyInterceptErrors != l2.ProxyInterceptErrors { return false }