Skip to content

Commit 6a11b61

Browse files
committed
Only allow importing gengo/v2
The old gengo shouldn't be used any longer. Signed-off-by: Stephen Kitt <[email protected]>
1 parent e954415 commit 6a11b61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/publishing/import-restrictions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
- "./staging/src/k8s.io/code-generator/examples"
5555
- "./staging/src/k8s.io/code-generator/cmd/defaulter-gen/output_tests"
5656
allowedImports:
57-
- k8s.io/gengo
57+
- k8s.io/gengo/v2
5858
- k8s.io/code-generator
5959
- k8s.io/kube-openapi
6060
- k8s.io/klog
@@ -180,7 +180,7 @@
180180
- baseImportPath: "./vendor/k8s.io/kube-openapi"
181181
allowedImports:
182182
- k8s.io/kube-openapi
183-
- k8s.io/gengo
183+
- k8s.io/gengo/v2
184184
- k8s.io/klog
185185
- k8s.io/utils
186186

0 commit comments

Comments
 (0)