Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove redundant check
  • Loading branch information
mrkm4ntr committed Mar 27, 2019
commit 9802d0bc13ec97e45b27dab67ec7138a6d062d9e
5 changes: 0 additions & 5 deletions pkg/internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ func (c *Controller) processNextWorkItem() bool {
}()

obj, shutdown := c.Queue.Get()
if obj == nil {
// Sometimes the Queue gives us nil items when it starts up
c.Queue.Forget(obj)
}

if shutdown {
// Stop working
return false
Expand Down