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

pytorch-generator: fix handling of values set to 0 #97

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

dgrove-oss
Copy link
Collaborator

if .Values.X evaluates to false if X is defined to be 0. This resulted in retryLimit and terminationGracePeriodSeconds not being properly propagated through the the generated yaml if the user sets their value to 0 (as opposed to nil).

`if .Values.X` evaluates to false if X is defined to be 0.
This resulted in retryLimit and terminationGracePeriodSeconds
not being properly propagated through the the generated yaml
if the user sets their value to 0 (as opposed to nil).
@dgrove-oss dgrove-oss added the bug Something isn't working label Nov 11, 2024
@dgrove-oss dgrove-oss changed the title bugfix: proper handling of values set to 0 pytorchgenerator: proper handling of values set to 0 Nov 11, 2024
@dgrove-oss dgrove-oss changed the title pytorchgenerator: proper handling of values set to 0 pytorch-generator: proper handling of values set to 0 Nov 11, 2024
@dgrove-oss dgrove-oss changed the title pytorch-generator: proper handling of values set to 0 pytorch-generator: fix handling of values set to 0 Nov 11, 2024
@dgrove-oss dgrove-oss merged commit 7c289d7 into project-codeflare:main Nov 11, 2024
1 check passed
@dgrove-oss dgrove-oss deleted the zero-bug branch November 11, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant