mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-02-04 00:06:14 +08:00
verify scripts: preserve exit code
these scripts used the result variable pattern but then explicitly exited early with a hardcoded value .... Kubernetes-commit: ef0547741db55186218fe6368de5fc88314b9355
This commit is contained in:
committed by
Kubernetes Publisher
parent
e3aa220283
commit
938de50954
@@ -40,5 +40,5 @@ if [[ $ret -eq 0 ]]; then
|
||||
echo "${DIFFROOT} up to date."
|
||||
else
|
||||
echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
|
||||
exit 1
|
||||
fi
|
||||
exit $ret
|
||||
|
||||
Reference in New Issue
Block a user