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: correctly marshall slurm dict boolean values #28

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

NucciTheBoss
Copy link
Member

Small PR that fixes the to_slurm_dict callback to correctly handle boolean values in Slurm-style dictionaries such as SlurmctldParameters=enable_configless.

Fixes #27

Append key name, not value, to intermediary result list before
converting to a Slurm-style dictionary

Signed-off-by: Jason C. Nucciarone <[email protected]>
Use `SlurmctldParameters=enable_configless` to verify that Slurm
dictionary marshalling works correctly.

Signed-off-by: Jason C. Nucciarone <[email protected]>
Signed-off-by: Jason C. Nucciarone <[email protected]>
@NucciTheBoss NucciTheBoss merged commit cd38b9b into charmed-hpc:main Nov 12, 2024
3 checks passed
@NucciTheBoss NucciTheBoss deleted the fix-gh27 branch November 12, 2024 21:37
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.

[Bug]: SlurmDictCallback marshaller improperly handles boolean values when dumping configuration
2 participants