From 43206312659e9fa208959ab9f5a9ab0f2076704c Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Sun, 7 Jan 2024 14:11:32 -0800 Subject: [PATCH] codegen: Don't need to pass --logtostderr All the tools already set it internally --- hack/update-codegen.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 9e47e9bdbf6..78e4f210e86 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -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}" \