mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
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:
commit
7deb3b29cd
@ -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 New Issue
Block a user