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 63eb255 commit 5f5e85f
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 @@ -101,7 +101,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 @@ -112,13 +112,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 5f5e85f

Please sign in to comment.