8000 feat: add dynamic parameters websocket endpoint by aslilac · Pull Request #17165 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add dynamic parameters websocket endpoint #17165

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 10 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
go, why must you torment me
  • Loading branch information
aslilac committed Apr 9, 2025
commit 15cd44880677dd2c2dde57136b9ce160a4078007
2 changes: 1 addition & 1 deletion codersdk/richparameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func validateBuildParameter(richParameter TemplateVersionParameter, buildParamet
Error: richParameter.ValidationError,
Monotonic: string(richParameter.ValidationMonotonic),
}
return validation.Valid(provider.OptionType(richParameter.Type), value)
return validation.Valid(richParameter.Type, value)
}

func findBuildParameter(params []WorkspaceBuildParameter, parameterName string) (*WorkspaceBuildParameter, bool) {
Expand Down
2 changes: 1 addition & 1 deletion provisioner/terraform/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
Name: param.Name,
DisplayName: param.DisplayName,
Description: param.Description,
Type: string(param.Type),
Type: param.Type,
Mutable: param.Mutable,
DefaultValue: param.Default,
Icon: param.Icon,
Expand Down
Loading
0