File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ type Parameter struct {
51
51
DisplayName string `mapstructure:"display_name"`
52
52
Description string
53
53
Type string
54
- FormType ParameterFormType `mapstructure:"form_type"`
54
+ FormType ParameterFormType
55
55
Mutable bool
56
56
Default string
57
57
Icon string
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func TestParameter(t *testing.T) {
27
27
name = "region"
28
28
display_name = "Region"
29
29
type = "string"
30
- form_type = "radio "
30
+ form_type = "dropdown "
31
31
description = <<-EOT
32
32
# Select the machine image
33
33
See the [registry](https://container.registry.blah/namespace) for options.
@@ -57,7 +57,7 @@ func TestParameter(t *testing.T) {
57
57
"name" : "region" ,
58
58
"display_name" : "Region" ,
59
59
"type" : "string" ,
60
- "form_type" : "radio " ,
60
+ "form_type" : "dropdown " ,
61
61
"description" : "# Select the machine image\n See the [registry](https://container.registry.blah/namespace) for options.\n " ,
62
62
"mutable" : "true" ,
63
63
"icon" : "/icon/region.svg" ,
You can’t perform that action at this time.
0 commit comments