Merge pull request #118976 from ctripcloud/fix-typo

fix kubelet podWorkers.SyncKnownPods() typo
This commit is contained in:
Kubernetes Prow Robot 2023-07-01 06:06:48 -07:00 committed by GitHub
commit 01171e8250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1538,7 +1538,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)