Don't expect internal clientset to be generated for groups without new types

This commit is contained in:
gmarek 2017-08-04 12:27:32 +02:00
parent 1284d78c92
commit 03cee68e47

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