-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 Migrate from Requeue to RequeueAfter in extensionconfig #13000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Migrate from Requeue to RequeueAfter in extensionconfig #13000
Conversation
|
/retest |
| g.Expect(err).ToNot(HaveOccurred()) | ||
| // If the registry isn't warm the reconcile loop will return Requeue: True | ||
| g.Expect(res.Requeue).To(BeTrue()) | ||
| g.Expect(res.RequeueAfter).To(BeTrue()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's adjust the prod code to use RequeueAfter 10 * time.Seconds and check for that value here.
Any idea why the linter is not finding the prod code usage?
There are also some other usages in the KCP controller
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've missed these things because staticcheck didn't report it, and then this issue has been opened in this.
So currently, it's hard to report it via lint. We should find problems by manually 😮💨
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah wow, that's good to know.
I think we'll figure it out. I found the other usages with "Find Usages" on the Requeue field in Intellij
6680154 to
3d53188
Compare
3d53188 to
29c9bb1
Compare
Signed-off-by: sivchari <[email protected]>
29c9bb1 to
34b9a46
Compare
|
Thx! /lgtm /area runtime-sdk |
|
LGTM label has been added. Git tree hash: a84a8898b313b2a6be6943b7b3be9d4047941e3e
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Part of #12272