Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed Oct 5, 2022
1 parent 0838b65 commit c369d1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ func WatchResourceWithExponentialBackoff(stopCh <-chan struct{}, client dynamic.
}
}

// RunWorker is a function that will call the processNextWorkItem function in order to read and process a message
// on the workqueue.
// RunWorker is a long-running function that will continually call the
// processNextWorkItem function in order to read and process a message on the
// workqueue.
func RunWorker(workqueue workqueue.RateLimitingInterface, objType string, syncHandler func(string) error, metricServer *metrics.MetricsServer) {
for processNextWorkItem(workqueue, objType, syncHandler, metricServer) {
}
Expand Down

0 comments on commit c369d1c

Please sign in to comment.