mirror of
https://github.com/ansible/awx.git
synced 2026-04-12 05:29:24 -02:30
interpret any code below 300 as success
This commit is contained in:
@@ -18,8 +18,7 @@ do
|
|||||||
then
|
then
|
||||||
echo "${status_code} received, encountered problem, halting."
|
echo "${status_code} received, encountered problem, halting."
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ $status_code -gt 200 ]]
|
else
|
||||||
then
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
attempt=$(( attempt + 1 ))
|
attempt=$(( attempt + 1 ))
|
||||||
|
|||||||
Reference in New Issue
Block a user