Skip to content

Commit

Permalink
fix: forget wrong queue
Browse files Browse the repository at this point in the history
Signed-off-by: minhthong582000 <[email protected]>
  • Loading branch information
minhthong582000 committed Nov 3, 2024
1 parent 8791a16 commit 73d1bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitops/internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (c *Controller) processNextAppRefreshItem() bool {
c.appRefreshQueue.AddRateLimited(appKey)
return nil, fmt.Errorf("error creating resources: %s", err)
}
c.queue.Forget(appKey)
c.appRefreshQueue.Forget(appKey)

return app, nil
}(appKey.(string))
Expand Down

0 comments on commit 73d1bdd

Please sign in to comment.