mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +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:
@@ -45,7 +45,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
source "${KUBE_ROOT}/hack/lib/util.sh"
|
||||
|
||||
kube::golang::setup_env
|
||||
kube::golang::verify_go_version
|
||||
export GOBIN="${KUBE_OUTPUT_BIN}"
|
||||
|
||||
kube::util::require-jq
|
||||
|
Reference in New Issue
Block a user