diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index a08ae650755..4eefcb7a34e 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -49,6 +49,9 @@ if [[ "${DBG_CODEGEN}" == 1 ]]; then kube::log::status "DBG: starting generated_files" fi +echo "installing goimports from hack/tools" +go -C "${KUBE_ROOT}/hack/tools" install golang.org/x/tools/cmd/goimports + # Generate a list of directories we don't want to play in. DIRS_TO_AVOID=() kube::util::read-array DIRS_TO_AVOID < <(