-
Notifications
You must be signed in to change notification settings - Fork 167
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
Cleanup deprecated usage of gpu #2182
Cleanup deprecated usage of gpu #2182
Conversation
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.
Can you actually remove gpuSetting from the DashboardConfig CRD -- I'm fairly certain this will just drop the value from the config since it's not longer used or needed. Please test though.
5ed0379
to
2b94be0
Compare
wording and linter updated naming remove gpuSetting
2b94be0
to
255562d
Compare
return getCompatibleAcceleratorIdentifiers(obj).some( | ||
(accelerator) => accelerator === acceleratorIdentifier, | ||
); | ||
return getCompatibleAcceleratorIdentifiers(obj).some((cr) => cr === acceleratorIdentifier); |
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.
Weird to call it cr
🤔 But variable names are not the end of the world...
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.
oh yeah in that area it is weird i agree. should be something like identifier
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.
Your description is a little off -- but otherwise this looks good to me.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne 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 |
c50da8c
into
opendatahub-io:f/accelerator-admin-support
closes: #1894
Description
this pr does the following
/gpu
and all related utils, types, frontend services, frontend UI components, hooks that use that api endpointcr
(custom resource)How Has This Been Tested?
Test Impact
all tests pass. had to edit delete test bc name of button changed
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
no UI changes, just naming of code. any wording changes have already been verified by Katie
After the PR is posted & before it merges:
main