mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Call verify_go_version at the END of setup_env
Prior to this it would download Go, setup the environment, then (maybe) download Go again. I renamed verify_go_version to be internal and fixed all callers.
This commit is contained in:
@@ -26,7 +26,6 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
|
||||
kube::golang::setup_env
|
||||
kube::golang::verify_go_version
|
||||
kube::util::require-jq
|
||||
|
||||
# Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
|
||||
|
||||
Reference in New Issue
Block a user