Skip to content

Commit

Permalink
Merge pull request #617 from timdengyun/formate_subnetset_type_file
Browse files Browse the repository at this point in the history
Format subnetset types filed and fix subnet types typo
  • Loading branch information
timdengyun authored Jun 27, 2024
2 parents 0fb7a85 + 51292b6 commit d1ad217
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/yaml/crd/nsx.vmware.com_subnets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ spec:
items:
type: string
type: array
networkAddreses:
networkAddresses:
items:
type: string
type: array
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/nsx.vmware.com/v1alpha1/subnet_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type SubnetSpec struct {
// SubnetStatus defines the observed state of Subnet.
type SubnetStatus struct {
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NetworkAddresses []string `json:"networkAddreses,omitempty"`
NetworkAddresses []string `json:"networkAddresses,omitempty"`
GatewayAddresses []string `json:"gatewayAddresses,omitempty"`
DHCPServerAddresses []string `json:"DHCPServerAddresses,omitempty"`
Conditions []Condition `json:"conditions,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/nsx.vmware.com/v1alpha1/subnetset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type SubnetSetSpec struct {

// SubnetInfo defines the observed state of a single Subnet of a SubnetSet.
type SubnetInfo struct {
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NetworkAddresses []string `json:"networkAddresses,omitempty"`
GatewayAddresses []string `json:"gatewayAddresses,omitempty"`
DHCPServerAddresses []string `json:"DHCPServerAddresses,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/v1alpha1/subnet_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type SubnetSpec struct {
// SubnetStatus defines the observed state of Subnet.
type SubnetStatus struct {
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NetworkAddresses []string `json:"networkAddreses,omitempty"`
NetworkAddresses []string `json:"networkAddresses,omitempty"`
GatewayAddresses []string `json:"gatewayAddresses,omitempty"`
DHCPServerAddresses []string `json:"DHCPServerAddresses,omitempty"`
Conditions []Condition `json:"conditions,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/v1alpha1/subnetset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type SubnetSetSpec struct {

// SubnetInfo defines the observed state of a single Subnet of a SubnetSet.
type SubnetInfo struct {
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NSXResourcePath string `json:"nsxResourcePath,omitempty"`
NetworkAddresses []string `json:"networkAddresses,omitempty"`
GatewayAddresses []string `json:"gatewayAddresses,omitempty"`
DHCPServerAddresses []string `json:"DHCPServerAddresses,omitempty"`
Expand Down

0 comments on commit d1ad217

Please sign in to comment.