mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Codegen: rm client files before regen
This commit is contained in:
parent
b852b36555
commit
bb53ed4ff6
@ -646,6 +646,12 @@ function codegen::clients() {
|
||||
done
|
||||
fi
|
||||
|
||||
git_grep -l --null \
|
||||
-e '^// Code generated by client-gen. DO NOT EDIT.$' \
|
||||
-- \
|
||||
':(glob)staging/src/k8s.io/client-go/**/*.go' \
|
||||
| xargs -0 rm -f
|
||||
|
||||
"${clientgen}" \
|
||||
--go-header-file "${BOILERPLATE_FILENAME}" \
|
||||
--output-base "${KUBE_ROOT}/vendor" \
|
||||
|
Loading…
Reference in New Issue
Block a user