check the loop

This commit is contained in:
Ryan W
2023-09-30 12:48:27 -07:00
parent 826ba89374
commit 7a7ed3532e
+1 -2
View File
@@ -53,11 +53,10 @@ jobs:
if [ "$status" = "healthy" ]; then
echo "Container is healthy"
exit 0
else
elif [ "$status" = "unhealthy" ]; then
echo "Container is unhealthy"
exit 1
fi
echo "sleep for recheck"
sleep 1
done
echo "Timed out waiting for container to become healthy"