Adds some TODOs and small fixes to pkg/util/workqueue

Adds a new unit test for queue.
This commit is contained in:
Joe Beda
2016-10-21 18:29:36 -07:00
parent e0c6bf13b1
commit 16b3485817
5 changed files with 46 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ func (q *Type) Done(item interface{}) {
}
}
// Shutdown will cause q to ignore all new items added to it. As soon as the
// ShutDown will cause q to ignore all new items added to it. As soon as the
// worker goroutines have drained the existing items in the queue, they will be
// instructed to exit.
func (q *Type) ShutDown() {