In some cases a thrown error was ignored by returning nil.
Now, the error gets returned. Also, the workitems now get enqueued
with a simple add instead of a rate limited add.
The workqueue.Forgetfunction was called twice.
Checklist
Before submitting this PR, please make sure:
[x] your code builds clean with make
[x] your code lets succeed unit tests with make test
Description
In some cases a thrown error was ignored by returning nil. Now, the error gets returned. Also, the workitems now get enqueued with a simple add instead of a rate limited add. The
workqueue.Forget
function was called twice.Checklist
Before submitting this PR, please make sure:
make
make test