Codegen: rm defaults files before regen

This commit is contained in:
Tim Hockin 2023-01-04 16:00:36 -08:00
parent 3f0c3f33ca
commit e149f79d4e
No known key found for this signature in database

View File

@ -254,6 +254,8 @@ function codegen::defaults() {
done done
fi fi
git_find -z ':(glob)**'/"${output_base}.go" | xargs -0 rm -f
./hack/run-in-gopath.sh "${gen_defaulter_bin}" \ ./hack/run-in-gopath.sh "${gen_defaulter_bin}" \
--v "${KUBE_VERBOSE}" \ --v "${KUBE_VERBOSE}" \
--logtostderr \ --logtostderr \