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
This commit is contained in:
Kubernetes Submit Queue 2017-08-07 04:04:59 -07:00 committed by GitHub
commit 7deb3b29cd

View File

@ -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