-
Notifications
You must be signed in to change notification settings - Fork 264
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
Use ResourceFlavorReference for ResourceFlavor names #3611
Use ResourceFlavorReference for ResourceFlavor names #3611
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/lgtm |
LGTM label has been added. Git tree hash: fcf16510009eea9a1935d2da5e540d6c79faf1c0
|
Thanks! 😊 I see that other reviewers have concerns on the method... what's your take on it? It feels that I should go with the cast to |
Yes, please, cast to |
4a77f59
to
42f3577
Compare
@mbobrovskyi @mimowo @tenzen-y changes added. PTAL 😊 Thanks for you time! |
42f3577
to
d5a7bb7
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.
/lgtm
Thanks!
LGTM label has been added. Git tree hash: 980904c03b4118e6f9b24b8543eacd2a7b33eade
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaisoz, mbobrovskyi, mimowo 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 cleanup
What this PR does / why we need it:
A ResourceFlavor name is referenced in different ways through the code, either as a
ResourceFlavorReference
or as astring
. This PR ensures that onlyResourceFlavorReference
is used unless a cast to string is absolutely necessary.Which issue(s) this PR fixes:
Fixes #3491
Special notes for your reviewer:
Does this PR introduce a user-facing change?