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

fix: segfault when resources not supplied in scheduler spec #298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpoler
Copy link
Contributor

@jpoler jpoler commented Apr 16, 2024

This is a fix for a segfault that occurs when resources are nil in the scheduler spec. The current code tries to dereference *scheduler.Spec.Resources outside of the conditional that checks for nil.

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.

None yet

1 participant