Skip to content

Commit

Permalink
Merge pull request #619 from timdengyun/cp_pr_617
Browse files Browse the repository at this point in the history
Format subnetset types filed and fix subnet types typo(CP#617)
  • Loading branch information
timdengyun committed Jun 27, 2024
2 parents 81a2f10 + 57033c5 commit ebf6e94
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 ebf6e94

Please sign in to comment.