From d2a4a1958fc869fdbc793514c982bcbb14349aca Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Fri, 5 Jan 2024 22:37:55 -0800 Subject: [PATCH] Tidy update-vendor-licenses for workspaces --- hack/update-vendor-licenses.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/update-vendor-licenses.sh b/hack/update-vendor-licenses.sh index 2f6ce5e0d86..835fd53ad1f 100755 --- a/hack/update-vendor-licenses.sh +++ b/hack/update-vendor-licenses.sh @@ -135,7 +135,8 @@ process_content () { ############################################################################# # use modules, and use module info rather than the vendor dir for computing dependencies -export GO111MODULE=on +kube::golang::setup_env +export GOWORK=off export GOFLAGS=-mod=mod # Check bash version