Skip to content

Commit 15cd448

Browse files
committed
go, why must you torment me
1 parent b650b0c commit 15cd448

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codersdk/richparameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func validateBuildParameter(richParameter TemplateVersionParameter, buildParamet
119119
Error: richParameter.ValidationError,
120120
Monotonic: string(richParameter.ValidationMonotonic),
121121
}
122-
return validation.Valid(provider.OptionType(richParameter.Type), value)
122+
return validation.Valid(richParameter.Type, value)
123123
}
124124

125125
func findBuildParameter(params []WorkspaceBuildParameter, parameterName string) (*WorkspaceBuildParameter, bool) {

provisioner/terraform/resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
753753
Name: param.Name,
754754
DisplayName: param.DisplayName,
755755
Description: param.Description,
756-
Type: string(param.Type),
756+
Type: param.Type,
757757
Mutable: param.Mutable,
758758
DefaultValue: param.Default,
759759
Icon: param.Icon,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy