Merge pull request #111133 from thockin/comment-build_binaries_for_platform

Add comment on build_binaries_for_platform
This commit is contained in:
Kubernetes Prow Robot 2022-07-14 16:26:47 -07:00 committed by GitHub
commit 7e2c02d4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -701,6 +701,8 @@ kube::golang::build_some_binaries() {
fi fi
} }
# Args:
# $1: platform (e.g. darwin/amd64)
kube::golang::build_binaries_for_platform() { kube::golang::build_binaries_for_platform() {
# This is for sanity. Without it, user umasks can leak through. # This is for sanity. Without it, user umasks can leak through.
umask 0022 umask 0022