codegen: Don't need to pass --logtostderr

All the tools already set it internally
This commit is contained in:
Tim Hockin 2024-01-07 14:11:32 -08:00
parent 2c0da11c0a
commit 4320631265
No known key found for this signature in database

View File

@ -176,7 +176,6 @@ function codegen::deepcopy() {
"${gen_deepcopy_bin}" \
-v "${KUBE_VERBOSE}" \
--logtostderr \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-file-base "${output_file}" \
--bounding-dirs "k8s.io/kubernetes,k8s.io/api" \
@ -309,7 +308,6 @@ function codegen::prerelease() {
"${gen_prerelease_bin}" \
-v "${KUBE_VERBOSE}" \
--logtostderr \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-file-base "${output_file}" \
$(printf -- " -i %s" "${tag_pkgs[@]}") \
@ -378,7 +376,6 @@ function codegen::defaults() {
"${gen_defaulter_bin}" \
-v "${KUBE_VERBOSE}" \
--logtostderr \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-file-base "${output_file}" \
$(printf -- " -i %s" "${tag_pkgs[@]}") \
@ -458,7 +455,6 @@ function codegen::conversions() {
"${gen_conversion_bin}" \
-v "${KUBE_VERBOSE}" \
--logtostderr \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-file-base "${output_file}" \
$(printf -- " --extra-peer-dirs %s" "${extra_peer_pkgs[@]}") \
@ -554,7 +550,6 @@ function codegen::openapi() {
"${gen_openapi_bin}" \
-v "${KUBE_VERBOSE}" \
--logtostderr \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-file-base "${output_file}" \
--output-base "${output_dir}" \