mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-10-28 13:45:38 +08:00
Output error message to stderr
This commit is contained in:
1 parent
8cbbb97d02
commit
ff68f005f4
1 file changed
+1
-1
@@ -44,7 +44,7 @@ function git_find() {
|
||||
# We need to find right gofmt, otherwise the one in PATH will be used.
|
||||
gofmt="$(go env GOROOT)/bin/gofmt"
|
||||
if [[ ! -x "${gofmt}" ]]; then
|
||||
kube::log::error 'Failed to find gofmt under GOTOOLCHAIN'
|
||||
echo "Failed to find $gofmt" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user