Change verify-api-groups.sh to s/vendor/staging/

I'm really not sure what this particular file check is doing, but that's
for tomorrow.
This commit is contained in:
Tim Hockin 2022-05-29 17:51:14 -07:00
parent b725fd20c2
commit 2924b90d75
No known key found for this signature in database

View File

@ -69,7 +69,7 @@ groups_without_codegen=(
"imagepolicy"
"admission"
)
client_gen_file="${KUBE_ROOT}/vendor/k8s.io/code-generator/cmd/client-gen/main.go"
client_gen_file="${KUBE_ROOT}/staging/src/k8s.io/code-generator/cmd/client-gen/main.go"
for group_dirname in "${group_dirnames[@]}"; do
if ! grep -q "${group_dirname}/" "${client_gen_file}" ; then