mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
Merge pull request #118976 from ctripcloud/fix-typo
fix kubelet podWorkers.SyncKnownPods() typo
This commit is contained in:
commit
01171e8250
@ -1538,7 +1538,7 @@ func (p *podWorkers) SyncKnownPods(desiredPods []*v1.Pod) map[types.UID]PodWorke
|
|||||||
p.podsSynced = true
|
p.podsSynced = true
|
||||||
for uid, status := range p.podSyncStatuses {
|
for uid, status := range p.podSyncStatuses {
|
||||||
// We retain the worker history of any pod that is still desired according to
|
// 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:
|
// needing to purge the history:
|
||||||
//
|
//
|
||||||
// 1. The pod is no longer desired (the local version is orphaned)
|
// 1. The pod is no longer desired (the local version is orphaned)
|
||||||
|
Loading…
Reference in New Issue
Block a user