Merge pull request #111132 from thockin/remove-unused-platform-envs-func

Remove unused `unset_platform_envs` func
This commit is contained in:
Kubernetes Prow Robot 2022-07-14 16:26:36 -07:00 committed by GitHub
commit 08117cdd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,14 +455,6 @@ kube::golang::set_platform_envs() {
fi
}
kube::golang::unset_platform_envs() {
unset GOOS
unset GOARCH
unset GOROOT
unset CGO_ENABLED
unset CC
}
# Create the GOPATH tree under $KUBE_OUTPUT
kube::golang::create_gopath_tree() {
local go_pkg_dir="${KUBE_GOPATH}/src/${KUBE_GO_PACKAGE}"