Commit 9ecc0b2b authored by yue9944882's avatar yue9944882

fixes document grammar

parent aa02c0f5
...@@ -235,7 +235,7 @@ func (p *podWorkers) removeWorker(uid types.UID) { ...@@ -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)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment