Skip to content

Commit

Permalink
reconciler/ingresssplitter: fix potential panic
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Mar 24, 2022
1 parent 40f724b commit 034f5c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (c *Controller) ingressesFromService(obj interface{}) {
// One Service can be referenced by 0..n Ingresses, so we need to enqueue all the related ingreses.
for _, ingress := range ingresses.List() {
klog.Infof("tracked service %q triggered Ingress %q reconciliation", service.Name, ingress)
c.queue.Add(ingress)
c.enqueue(&ingress)
}
}

Expand Down

0 comments on commit 034f5c4

Please sign in to comment.