Commit 03cee68e authored by gmarek's avatar gmarek

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

parent 1284d78c
...@@ -81,7 +81,7 @@ for group_dirname in "${group_dirnames[@]}"; do ...@@ -81,7 +81,7 @@ for group_dirname in "${group_dirnames[@]}"; do
found=1 found=1
fi fi
done 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}" echo "need to add ${group_dirname}/ to ${client_gen_file}"
exit 1 exit 1
fi 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