Skip to content

Commit

Permalink
fix sidecarset upgrade exception for UpdateExpectations (openkruise#1435
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zmberg authored Oct 16, 2023
1 parent 2d0b443 commit 65511ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controller/sidecarset/sidecarset_pod_event_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func (p *enqueueRequestForPod) updatePod(q workqueue.RateLimitingInterface, old,
return
}
for _, sidecarSet := range matchedSidecarSets {
sidecarcontrol.UpdateExpectations.ObserveUpdated(sidecarSet.Name, sidecarcontrol.GetSidecarSetRevision(sidecarSet), newPod)
if sidecarSet.Spec.UpdateStrategy.Type == appsv1alpha1.NotUpdateSidecarSetStrategyType {
continue
}
Expand Down

0 comments on commit 65511ce

Please sign in to comment.