fix kubelet podWorkers.SyncKnownPods() typo

Signed-off-by: zach593 <montenukem@outlook.com>
This commit is contained in:
zach593 2023-06-29 22:32:03 +08:00
parent 6aa68d6a8b
commit f7cf9effa3

View File

@ -1532,7 +1532,7 @@ func (p *podWorkers) SyncKnownPods(desiredPods []*v1.Pod) map[types.UID]PodWorke
p.podsSynced = true
for uid, status := range p.podSyncStatuses {
// We retain the worker history of any pod that is still desired according to
// its UID. However, there are ]two scenarios during a sync that result in us
// its UID. However, there are two scenarios during a sync that result in us
// needing to purge the history:
//
// 1. The pod is no longer desired (the local version is orphaned)