mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-04-12 00:00:26 +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."
|
echo "${DIFFROOT} up to date."
|
||||||
else
|
else
|
||||||
echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
|
echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
exit $ret
|
||||||
|
|||||||
Reference in New Issue
Block a user