Skip to content

Commit

Permalink
Fix visibility syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shen <[email protected]>
  • Loading branch information
mjlshen committed Sep 9, 2024
1 parent e5673e9 commit d55a400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/hcpopenshiftclusternodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type HCPOpenShiftClusterNodePool struct {
// HCPOpenShiftClusterNodePool resource.
type HCPOpenShiftClusterNodePoolProperties struct {
ProvisioningState arm.ProvisioningState `json:"provisioningState,omitempty" visibility:"read" validate:"omitempty,enum_provisioningstate"`
Spec NodePoolSpec `json:"spec,omitempty" visibility:"read,create,update" validate:"required_for_put"`
Spec NodePoolSpec `json:"spec,omitempty" visibility:"read create update" validate:"required_for_put"`
}

type NodePoolSpec struct {
Expand Down

0 comments on commit d55a400

Please sign in to comment.