Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Sep 26, 2023
1 parent 23967d5 commit bfcb747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cache/auto_refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ func (w *autoRefresh) sync(ctx context.Context) (err error) {
item: item.(Item),
}})

w.workqueue.Forget(itemID)
w.workqueue.Done(itemID)
w.workqueue.Forget(item)
w.workqueue.Done(item)

if err != nil {
w.metrics.SyncErrors.Inc()
Expand Down

0 comments on commit bfcb747

Please sign in to comment.