mirror of https://github.com/kubernetes/kops.git
Merge pull request #10182 from h3poteto/fix/hack-verify-bazel
Fix to handle exit code of gazelle command in hack/verify-bazel.sh
This commit is contained in:
commit
ac082bd091
|
|
@ -25,7 +25,7 @@ gazelle_diff=$("${TOOLS_BIN}/gazelle" fix \
|
||||||
-exclude=hack \
|
-exclude=hack \
|
||||||
-mode=diff \
|
-mode=diff \
|
||||||
-proto=disable \
|
-proto=disable \
|
||||||
-repo_root="${KOPS_ROOT}")
|
-repo_root="${KOPS_ROOT}") || _=$?
|
||||||
|
|
||||||
if [[ -n "${gazelle_diff}" ]]; then
|
if [[ -n "${gazelle_diff}" ]]; then
|
||||||
echo "${gazelle_diff}" >&2
|
echo "${gazelle_diff}" >&2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue