Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
  • Loading branch information
Emyrk committed May 15, 2025
commit f3cff03c5936a74df05ca0d044d7ae876af11a9b
1 change: 0 additions & 1 deletion coderd/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
// @Router /users/{user}/templateversions/{templateversion}/parameters [get]
func (api *API) templateVersionDynamicParameters(rw http.ResponseWriter, r *http.Request) {
ctx := r.Context()
user := httpmw.UserParam(r)
templateVersion := httpmw.TemplateVersionParam(r)

// Check that the job has completed successfully
Expand Down Expand Up @@ -242,7 +241,7 @@
params = append(params, param)
}

api.handleParameterWebsocket(rw, r, func(ctx context.Context, values map[string]string) (*preview.Output, hcl.Diagnostics) {

Check failure on line 244 in coderd/parameters.go

View workflow job for this annotation

GitHub Actions / lint

unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
for i := range params {
param := &params[i]
paramValue, ok := values[param.Name]
Expand Down
Loading