Merge pull request #8511 from thockin/make-stdout-noise

Shush minor stdout noise on builds
This commit is contained in:
Jeff Grafton 2015-05-19 11:33:39 -07:00
commit a0a8a825d1

View File

@ -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
}