From c88c8050700e3d71a479fffefb7d72d0e04a43d0 Mon Sep 17 00:00:00 2001 From: Ivan Matmati Date: Wed, 19 Jan 2022 15:16:05 +0100 Subject: [PATCH] BUG/MINOR: fixes ingressclass comparison in modification case --- controller/store/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/store/events.go b/controller/store/events.go index db700004..7eab61f6 100644 --- a/controller/store/events.go +++ b/controller/store/events.go @@ -40,7 +40,7 @@ func (k *K8s) EventIngressClass(data *IngressClass) (updateRequired bool) { logger.Warningf("IngressClass '%s' not registered with controller !", data.Name) return false } - if oldIgClass.Equal(oldIgClass) { + if newIgClass.Equal(oldIgClass) { return false } k.IngressClasses[data.Name] = newIgClass