Skip to content

Commit 0400c45

Browse files
committed
fix sg
1 parent aca169d commit 0400c45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/controller/pod.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ func (c *Controller) enqueueUpdatePod(oldObj, newObj interface{}) {
361361
oldVips := oldPod.Annotations[fmt.Sprintf(util.PortVipAnnotationTemplate, podNet.ProviderName)]
362362
newVips := newPod.Annotations[fmt.Sprintf(util.PortVipAnnotationTemplate, podNet.ProviderName)]
363363
if oldSecurity != newSecurity || oldSg != newSg || oldVips != newVips {
364-
c.updatePodSecurityQueue.Add(key)
364+
klog.Infof("enqueue add pod %s", key)
365+
c.addPodQueue.Add(key)
365366
break
366367
}
367368
}

0 commit comments

Comments
 (0)