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: skip serializing special requests. #518

Merged
merged 3 commits into from
Jul 22, 2024
Merged

fix: skip serializing special requests. #518

merged 3 commits into from
Jul 22, 2024

Conversation

preyasshah
Copy link
Collaborator

Also remove usernames from stackvars

@@ -125,7 +125,7 @@ pub struct Resource {
threads: Option<isize>,
#[serde(rename = "__vmem_gb")]
vmem_gb: Option<isize>,
#[serde(rename = "__special")]
#[serde(rename = "__special", skip_serializing_if = "Option::is_none")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really this should probably be done for the other resource requests as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@preyasshah preyasshah merged commit f7bb436 into master Jul 22, 2024
2 checks passed
@preyasshah preyasshah deleted the ps/specialfix branch July 22, 2024 15:49
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