Skip to content

Commit

Permalink
BUG/MINOR: fixes ingressclass comparison in modification case
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmatmati committed Jan 19, 2022
1 parent d0229de commit 7c55137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/store/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c55137

Please sign in to comment.