- Notifications
You must be signed in to change notification settings - Fork914
Commit64172d3
authored
fix: set preset parameters in the API rather than the frontend (#17403)
Follow-up from a [previous PullRequest](#16965) required someadditional testing of Presets from the API perspective.In the process of adding the new tests, I updated the API to enforcepreset parameter values based on the selected preset instead of trustingwhichever frontend makes the request. This avoids errors scenarios inprebuilds where a prebuild might expect a certain preset but find adifferent set of actual parameter values.1 parentd78215c commit64172d3
File tree
4 files changed
+387
-46
lines changed- coderd
- util/slice
- wsbuilder
4 files changed
+387
-46
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
69 | 82 |
| |
70 | 83 |
| |
71 | 84 |
| |
|
0 commit comments
Comments
(0)