-
Notifications
You must be signed in to change notification settings - Fork 182
Update priority in EPP flow control from uint to int #1518
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
Conversation
Hi @rahulgurnani. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
a1587ff
to
202e3f6
Compare
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.
Thanks for picking this up! Just a few comments on reversing the sorting order and updating docs accordingly.
PriorityBandAccessor(priority uint) (framework.PriorityBandAccessor, error) | ||
PriorityBandAccessor(priority int) (framework.PriorityBandAccessor, error) | ||
|
||
// AllOrderedPriorityLevels returns all configured priority levels that this shard is aware of, sorted in ascending |
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.
sorted in ascending numerical order. This order corresponds to highest priority (lowest numeric value) to lowest priority (highest numeric value
We should either remove this or update it to reflect the new sorting order (highest priority is highest numeric value).
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.
Updated the comment, thanks!
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, rahulgurnani 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 type of PR is this?
/kind bug or refactor
What this PR does / why we need it:
This PR updates the type of priority from uint to int in flow control to ensure its in sync with what we have in API spec.
Presently, the priority in API spec is an int whereas in the EPP flow control is an unsigned int
Which issue(s) this PR fixes:
Fixes #1473
Does this PR introduce a user-facing change?:
cc @LukeAVanDrie