Skip to content
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

Make GPU Health comparison case-insensitive #45

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

Nimbus318
Copy link
Contributor

Updated the volcano-device-plugin to compare the Health annotation using strings.EqualFold(dev.Health, "healthy") instead of a case-sensitive check. This ensures that GPU health status is correctly recognized regardless of the casing used in the annotation.

Signed-off-by: Nimbus318 <136771156+Nimbus318@users.noreply.github.com>
@archlitchi archlitchi merged commit d3d3797 into Project-HAMi:main Feb 18, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants