Skip to content

Commit

Permalink
Fix PR comment
Browse files Browse the repository at this point in the history
Signed-off-by: David Festal <dfestal@redhat.com>
  • Loading branch information
davidfestal committed Jan 9, 2023
1 parent da89d30 commit 5aed415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/syncer/controllermanager/controllermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ func (c *ControllerManager) processNextWorkItem(ctx context.Context) bool {
}
defer c.queue.Done(key)

c.updateControllers(ctx)
c.process(ctx)
c.queue.Forget(key)
return true
}

func (c *ControllerManager) updateControllers(ctx context.Context) {
func (c *ControllerManager) process(ctx context.Context) {
logger := klog.FromContext(ctx)
controllersToStart := map[string]CreateControllerFunc{}
syncedInformers, notSynced := c.informerSource.Informers()
Expand Down

0 comments on commit 5aed415

Please sign in to comment.