Commit 7deb3b29 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50141 from gmarek/verify

Automatic merge from submit-queue (batch tested with PRs 49868, 50143, 49377, 50141, 50145) Don't expect internal clientset to be generated for groups without ne… …w types
parents a0826e1d 03cee68e
......@@ -81,7 +81,7 @@ for group_dirname in "${group_dirnames[@]}"; do
found=1
fi
done
if [ "${found}" -ne "1" ] ; then
if [[ "${found}" -ne "1" && -f "${group_dirname}/types.go" ]] ; then
echo "need to add ${group_dirname}/ to ${client_gen_file}"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment