mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Remove unused unset_platform_envs
func
This commit is contained in:
parent
f3654386ab
commit
4b8e3a0b54
@ -455,14 +455,6 @@ kube::golang::set_platform_envs() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
kube::golang::unset_platform_envs() {
|
|
||||||
unset GOOS
|
|
||||||
unset GOARCH
|
|
||||||
unset GOROOT
|
|
||||||
unset CGO_ENABLED
|
|
||||||
unset CC
|
|
||||||
}
|
|
||||||
|
|
||||||
# Create the GOPATH tree under $KUBE_OUTPUT
|
# Create the GOPATH tree under $KUBE_OUTPUT
|
||||||
kube::golang::create_gopath_tree() {
|
kube::golang::create_gopath_tree() {
|
||||||
local go_pkg_dir="${KUBE_GOPATH}/src/${KUBE_GO_PACKAGE}"
|
local go_pkg_dir="${KUBE_GOPATH}/src/${KUBE_GO_PACKAGE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user