Skip to content

Commit

Permalink
fix: all cluster pod will be in podadd queue (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
lut777 committed Jun 7, 2022
1 parent 08ba421 commit cfbe55e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controller/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ func (c *Controller) enqueueAddPod(obj interface{}) {

podNets, err := c.getPodKubeovnNets(p)
if err != nil {
klog.Errorf("failed to get pod nets %v", err)
klog.Errorf("pod not managed by ovn? failed to get pod nets %v", err)
c.addPodQueue.Add(key)
return
}
// In case update event might lost during leader election
Expand Down

0 comments on commit cfbe55e

Please sign in to comment.