mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Remove unused unset_platform_envs
func
This commit is contained in:
@@ -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}"
|
||||||
|
Reference in New Issue
Block a user