From d55a400d392d73faf18566208c5f5907501bf382 Mon Sep 17 00:00:00 2001 From: Michael Shen Date: Mon, 9 Sep 2024 14:01:51 -0400 Subject: [PATCH] Fix visibility syntax error Signed-off-by: Michael Shen --- internal/api/hcpopenshiftclusternodepool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/hcpopenshiftclusternodepool.go b/internal/api/hcpopenshiftclusternodepool.go index 5e2d73c09..4b5cb9c98 100644 --- a/internal/api/hcpopenshiftclusternodepool.go +++ b/internal/api/hcpopenshiftclusternodepool.go @@ -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 {