Show single sonobuoy failure

This commit is contained in:
Erik Wilson 2019-11-12 18:20:57 -07:00
parent 671d702dc1
commit 0a843a11c6

View File

@ -128,7 +128,7 @@ retrieve-sonobuoy-logs() {
if [ -n "${E2E_LOG_OUTPUT}" ]; then
cp ${RESULTS} $(sed -e "s/-STATUS-/-${status}-/g" <<< "${E2E_LOG_OUTPUT}")
fi
awk '/^Summarizing .* Failures:$/,0' ${RESULTS}
awk '/^Summarizing .* Failures?:$/,0' ${RESULTS}
return ${exit_code}
}
export -f retrieve-sonobuoy-logs