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 3e9d928 commit 746e5d0
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 @@ -33,6 +33,7 @@ func (c *Controller) enqueueAddService(obj interface{}) {
utilruntime.HandleError(err)
return
}
c.updateEndpointQueue.Add(key)
svc := obj.(*v1.Service)

if c.config.EnableNP {
Expand Down

0 comments on commit 746e5d0

Please sign in to comment.