Skip to content

Commit

Permalink
regenerate files
Browse files Browse the repository at this point in the history
  • Loading branch information
danwinship committed Oct 3, 2017
1 parent 7b7e296 commit e08e9eb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions api/swagger-spec/oapi-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25756,8 +25756,7 @@
"required": [
"host",
"hostIP",
"subnet",
"egressIPs"
"subnet"
],
"properties": {
"kind": {
Expand Down Expand Up @@ -26916,8 +26915,7 @@
"description": "NetNamespace describes a single isolated network. When using the redhat/openshift-ovs-multitenant plugin, every Namespace will have a corresponding NetNamespace object with the same name. (When using redhat/openshift-ovs-subnet, NetNamespaces are not used.)",
"required": [
"netname",
"netid",
"egressIPs"
"netid"
],
"properties": {
"kind": {
Expand Down
3 changes: 1 addition & 2 deletions api/swagger-spec/openshift-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -90978,8 +90978,7 @@
"required": [
"host",
"hostIP",
"subnet",
"egressIPs"
"subnet"
],
"properties": {
"apiVersion": {
Expand Down
1 change: 1 addition & 0 deletions pkg/network/apis/network/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions pkg/network/apis/network/v1/zz_generated.conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,7 @@ func autoConvert_network_HostSubnet_To_v1_HostSubnet(in *network.HostSubnet, out
out.Host = in.Host
out.HostIP = in.HostIP
out.Subnet = in.Subnet
if in.EgressIPs == nil {
out.EgressIPs = make([]string, 0)
} else {
out.EgressIPs = *(*[]string)(unsafe.Pointer(&in.EgressIPs))
}
out.EgressIPs = *(*[]string)(unsafe.Pointer(&in.EgressIPs))
return nil
}

Expand Down Expand Up @@ -343,11 +339,7 @@ func autoConvert_network_NetNamespace_To_v1_NetNamespace(in *network.NetNamespac
out.ObjectMeta = in.ObjectMeta
out.NetName = in.NetName
out.NetID = in.NetID
if in.EgressIPs == nil {
out.EgressIPs = make([]string, 0)
} else {
out.EgressIPs = *(*[]string)(unsafe.Pointer(&in.EgressIPs))
}
out.EgressIPs = *(*[]string)(unsafe.Pointer(&in.EgressIPs))
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/openapi/zz_generated.openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -7145,7 +7145,7 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
},
},
},
Required: []string{"host", "hostIP", "subnet", "egressIPs"},
Required: []string{"host", "hostIP", "subnet"},
},
},
Dependencies: []string{
Expand Down

0 comments on commit e08e9eb

Please sign in to comment.