mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-20 00:11:21 -05:00
Don't expect internal clientset to be generated for groups without new types
This commit is contained in:
parent
1284d78c92
commit
03cee68e47
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue