mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Shush minor stdout noise on builds
This commit is contained in:
parent
441f69f34e
commit
76a0a7dff2
@ -364,12 +364,12 @@ kube::golang::build_binaries_for_platform() {
|
||||
# Go 1.4 added -o to control where the binary is saved, but Go 1.3 doesn't
|
||||
# have this flag. Whenever we deprecate go 1.3, update to use -o instead of
|
||||
# changing into the output directory.
|
||||
pushd "$(dirname ${outfile})"
|
||||
pushd "$(dirname ${outfile})" >/dev/null
|
||||
go test -c \
|
||||
"${goflags[@]:+${goflags[@]}}" \
|
||||
-ldflags "${version_ldflags}" \
|
||||
"$(dirname ${test})"
|
||||
popd
|
||||
popd >/dev/null
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user