Skip to content

Commit 2bd75f0

Browse files
committed
Revert "fix sg"
This reverts commit 0400c45.
1 parent 0400c45 commit 2bd75f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/controller/pod.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ 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-
klog.Infof("enqueue add pod %s", key)
365-
c.addPodQueue.Add(key)
364+
c.updatePodSecurityQueue.Add(key)
366365
break
367366
}
368367
}

0 commit comments

Comments
 (0)