From 7ed65b466d796160afe57e02e99ad07df47c33ca Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Thu, 9 Oct 2025 16:05:19 -0700 Subject: [PATCH] remove defunct comments about updating copy_output --- hack/update-codegen.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index ebe260a33ad..19179b2dd6a 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -120,10 +120,6 @@ function codegen::protobuf() { return fi - # NOTE: All output from this script needs to be copied back to the calling - # source tree. This is managed in kube::build::copy_output in build/common.sh. - # If the output set is changed update that function. - local apis=() kube::util::read-array apis < <( git grep --untracked --null -l \ @@ -1055,9 +1051,7 @@ function codegen::protobindings() { hack/_update-generated-proto-bindings-dockerized.sh "${apis[@]}" else kube::log::status "protoc ${PROTOC_VERSION} not found (can install with hack/install-protoc.sh); generating containerized..." - # NOTE: All output from this script needs to be copied back to the calling - # source tree. This is managed in kube::build::copy_output in build/common.sh. - # If the output set is changed update that function. + build/run.sh hack/_update-generated-proto-bindings-dockerized.sh "${apis[@]}" fi }