mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
fix kubelet podWorkers.SyncKnownPods() typo
Signed-off-by: zach593 <montenukem@outlook.com>
This commit is contained in:
parent
6aa68d6a8b
commit
f7cf9effa3
@ -1532,7 +1532,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