Skip to content

Commit 3ec8787

Browse files
authored
Merge pull request #2542 from lingdie/main
fix: enum typo error.
2 parents 26e9bd3 + c540391 commit 3ec8787

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

api/v1beta1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,12 +723,12 @@ type SecurityGroupRuleSpec struct {
723723
// security group rule is applied to incoming (ingress) traffic for that
724724
// instance. An egress rule is applied to traffic leaving the instance.
725725
// +kubebuilder:validation:Required
726-
// +kubebuilder:validation:enum=ingress;egress
726+
// +kubebuilder:validation:Enum=ingress;egress
727727
Direction string `json:"direction"`
728728

729729
// etherType must be IPv4 or IPv6, and addresses represented in CIDR must match the
730730
// ingress or egress rules.
731-
// +kubebuilder:validation:enum=IPv4;IPv6
731+
// +kubebuilder:validation:Enum=IPv4;IPv6
732732
// +optional
733733
EtherType *string `json:"etherType,omitempty"`
734734

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclusters.yaml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclustertemplates.yaml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)