Skip to content

Commit

Permalink
enqueue endpoint when handling service add event (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Feb 15, 2023
1 parent 2f76a0f commit 7c46ed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (c *Controller) enqueueAddService(obj interface{}) {
utilruntime.HandleError(err)
return
}
c.updateEndpointQueue.Add(key)
svc := obj.(*v1.Service)
klog.V(3).Infof("enqueue add service %s", key)

Expand Down

0 comments on commit 7c46ed2

Please sign in to comment.