mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Applied comments
This commit is contained in:
parent
25c8f07c67
commit
702ad7732f
@ -1399,7 +1399,7 @@ func (kl *Kubelet) syncLoop(updates <-chan PodUpdate, handler SyncHandler) {
|
|||||||
}
|
}
|
||||||
// If we already caught some update, try to wait for some short time
|
// If we already caught some update, try to wait for some short time
|
||||||
// to possibly batch it with other incoming updates.
|
// to possibly batch it with other incoming updates.
|
||||||
for ; unsyncedPod; {
|
for unsyncedPod {
|
||||||
select {
|
select {
|
||||||
case u := <-updates:
|
case u := <-updates:
|
||||||
kl.updatePods(u)
|
kl.updatePods(u)
|
||||||
|
Loading…
Reference in New Issue
Block a user