Skip to content

fix(coderd): avoid fetching extra parameters for a preset #16642

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

SasSwart
Copy link
Contributor

This pull request fixes a bug in presets and adds tests to ensure it doesn't happen again.
Due to an oversight in refactoring, we returned extra and incorrect parameters from other presets in the same template version when calling /templateversions/{templateversion}/presets.

@SasSwart SasSwart marked this pull request as ready for review February 20, 2025 06:35
@SasSwart SasSwart merged commit dedc32f into main Feb 20, 2025
34 checks passed
@SasSwart SasSwart deleted the jjs/presets-extra-params-bug branch February 20, 2025 07:58
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants