Skip to content

Commit

Permalink
fix: api rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Sep 8, 2022
1 parent 3f96a63 commit 08331ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/apis/kubeovn/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type Subnet struct {
}

type SubnetSpec struct {
Default bool `json:"default,omitempty"`
Default bool `json:"default"`
Vpc string `json:"vpc,omitempty"`
Protocol string `json:"protocol,omitempty"`
Namespaces []string `json:"namespaces,omitempty"`
Expand All @@ -110,13 +110,13 @@ type SubnetSpec struct {

GatewayType string `json:"gatewayType,omitempty"`
GatewayNode string `json:"gatewayNode,omitempty"`
NatOutgoing bool `json:"natOutgoing,omitempty"`
NatOutgoing bool `json:"natOutgoing"`

ExternalEgressGateway string `json:"externalEgressGateway,omitempty"`
PolicyRoutingPriority uint32 `json:"policyRoutingPriority,omitempty"`
PolicyRoutingTableID uint32 `json:"policyRoutingTableID,omitempty"`

Private bool `json:"private,omitempty"`
Private bool `json:"private"`
AllowSubnets []string `json:"allowSubnets,omitempty"`

Vlan string `json:"vlan,omitempty"`
Expand Down

0 comments on commit 08331ba

Please sign in to comment.