mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
fixes document grammar
This commit is contained in:
parent
aa02c0f519
commit
9ecc0b2bd2
@ -235,7 +235,7 @@ func (p *podWorkers) removeWorker(uid types.UID) {
|
|||||||
delete(p.podUpdates, uid)
|
delete(p.podUpdates, uid)
|
||||||
// If there is an undelivered work update for this pod we need to remove it
|
// If there is an undelivered work update for this pod we need to remove it
|
||||||
// since per-pod goroutine won't be able to put it to the already closed
|
// since per-pod goroutine won't be able to put it to the already closed
|
||||||
// channel when it finish processing the current work update.
|
// channel when it finishes processing the current work update.
|
||||||
if _, cached := p.lastUndeliveredWorkUpdate[uid]; cached {
|
if _, cached := p.lastUndeliveredWorkUpdate[uid]; cached {
|
||||||
delete(p.lastUndeliveredWorkUpdate, uid)
|
delete(p.lastUndeliveredWorkUpdate, uid)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user