diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 29cc94d3db0..4b0a0f01df7 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -254,6 +254,8 @@ function codegen::defaults() { done fi + git_find -z ':(glob)**'/"${output_base}.go" | xargs -0 rm -f + ./hack/run-in-gopath.sh "${gen_defaulter_bin}" \ --v "${KUBE_VERBOSE}" \ --logtostderr \