mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-09 05:06:38 +10:00
remove unnecessary wait.Until
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
This commit is contained in:
@@ -110,8 +110,7 @@ func (c *controller) Run(workers int, stopCh <-chan struct{}) error {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
// TODO (@munnerz): make time.Second duration configurable
|
||||
wait.Until(func() { c.worker(ctx) }, time.Second, stopCh)
|
||||
c.worker(ctx)
|
||||
}()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user