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 authored and Mo3m3n committed Mar 2, 2022
1 parent 1938059 commit c88c805
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 c88c805

Please sign in to comment.