Skip to content

Commit 5b417d0

Browse files
committed
fix: marshal instance type using generic function
1 parent 22be39a commit 5b417d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1alpha1/aws_node_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (i InstanceType) VariableSchema() clusterv1.VariableSchema {
103103
OpenAPIV3Schema: clusterv1.JSONSchemaProps{
104104
Type: "string",
105105
Description: "The AWS instance type to use for the cluster Machines",
106-
Default: variables.MustMarshal(string(i)),
106+
Default: variables.MustMarshal(i),
107107
},
108108
}
109109
}

0 commit comments

Comments
 (0)