Merge pull request #76682 from oomichi/remove-false

Replace false with "exit 1" under hack/
This commit is contained in:
Kubernetes Prow Robot 2019-04-16 20:38:03 -07:00 committed by GitHub
commit fe8cd08a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ else
echo 'checking by adding it to hack/.golint_failures (if your reviewer is okay with it).' echo 'checking by adding it to hack/.golint_failures (if your reviewer is okay with it).'
echo echo
} >&2 } >&2
false exit 1
fi fi
if [[ ${#not_failing[@]} -gt 0 ]]; then if [[ ${#not_failing[@]} -gt 0 ]]; then
@ -106,7 +106,7 @@ if [[ ${#not_failing[@]} -gt 0 ]]; then
done done
echo echo
} >&2 } >&2
false exit 1
fi fi
if [[ ${#gone[@]} -gt 0 ]]; then if [[ ${#gone[@]} -gt 0 ]]; then
@ -118,5 +118,5 @@ if [[ ${#gone[@]} -gt 0 ]]; then
done done
echo echo
} >&2 } >&2
false exit 1
fi fi

View File

@ -169,7 +169,7 @@ else
echo 'checking by adding it to hack/.shellcheck_failures (if your reviewer is okay with it).' echo 'checking by adding it to hack/.shellcheck_failures (if your reviewer is okay with it).'
echo echo
} >&2 } >&2
false exit 1
fi fi
if [[ ${#not_failing[@]} -gt 0 ]]; then if [[ ${#not_failing[@]} -gt 0 ]]; then
@ -181,7 +181,7 @@ if [[ ${#not_failing[@]} -gt 0 ]]; then
done done
echo echo
} >&2 } >&2
false exit 1
fi fi
# Check that all failing_packages actually still exist # Check that all failing_packages actually still exist
@ -199,5 +199,5 @@ if [[ ${#gone[@]} -gt 0 ]]; then
done done
echo echo
} >&2 } >&2
false exit 1
fi fi