mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Don't expect internal clientset to be generated for groups without new types
This commit is contained in:
parent
1284d78c92
commit
03cee68e47
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user