Skip to content

Commit

Permalink
Merge pull request #1212 from swetharepakula/neg-crd-import
Browse files Browse the repository at this point in the history
Fix negv1beta1 import
  • Loading branch information
k8s-ci-robot authored Aug 11, 2020
2 parents c50bd88 + 87f3d0a commit 55eea57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/svcneg/svcneg.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ limitations under the License.
package svcneg

import (
negv1beta1 "k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1"
apisneg "k8s.io/ingress-gce/pkg/apis/svcneg"
negv1beta1 "k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1"
"k8s.io/ingress-gce/pkg/crd"
)

Expand All @@ -29,6 +29,7 @@ func CRDMeta() *crd.CRDMeta {
"ServiceNetworkEndpointGroupList",
"servicenetworkendpointgroup",
"servicenetworkendpointgroups",
"svcneg",
)
meta.AddValidationInfo("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.ServiceNetworkEndpointGroup", negv1beta1.GetOpenAPIDefinitions)
return meta
Expand Down

0 comments on commit 55eea57

Please sign in to comment.