mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Codegen: rm openapi files before regen
This commit is contained in:
parent
7f87ecfb9a
commit
6aea6fe86b
@ -501,6 +501,8 @@ function codegen::openapi() {
|
||||
"${apimachinery_dirs[@]}"
|
||||
)
|
||||
|
||||
git_find -z ':(glob)**'/"${output_base}.go" | xargs -0 rm -f
|
||||
|
||||
for prefix in "${targets[@]}"; do
|
||||
local report_file="${OUT_DIR}/${prefix}_violations.report"
|
||||
# When UPDATE_API_KNOWN_VIOLATIONS is set to be true, let the generator to write
|
||||
|
Loading…
Reference in New Issue
Block a user