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

Scheduler: refactor floating resources to use internaltypes #4047

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

robertdavidsmith
Copy link
Collaborator

@robertdavidsmith robertdavidsmith commented Nov 14, 2024

Make floating_resource_types.go use internaltypes.ResourceList internally.

Before this used schedulerobjects.ResourceList internally and had a special getter for internaltypes.ResourceList. Now it uses internaltypes.ResourceList internally but has a special getter GetTotalAvailableForPoolAsMap for if you need a schedulerobjects.ResourceList.

@robertdavidsmith robertdavidsmith enabled auto-merge (squash) November 14, 2024 13:55
@robertdavidsmith robertdavidsmith merged commit 5051d79 into master Nov 14, 2024
29 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