Merge "CI: future-proof return semantics in check-failure.sh"

This commit is contained in:
Zuul 2021-12-30 21:49:16 +00:00 committed by Gerrit Code Review
commit 2a7823b5cb

View File

@ -30,7 +30,7 @@ check_failure() {
# NOTE(mgoddard): monasca-thresh is a one-shot container that exits but # NOTE(mgoddard): monasca-thresh is a one-shot container that exits but
# remains in place, leaving it with a status of exited. This is harmless. # remains in place, leaving it with a status of exited. This is harmless.
if [[ "$failed_containers" = "monasca_thresh" ]]; then if [[ "$failed_containers" = "monasca_thresh" ]]; then
exit 0 return
fi fi
if [[ -n "$failed_containers" ]]; then if [[ -n "$failed_containers" ]]; then