Loop to check the health status

This commit is contained in:
Ryan W
2023-09-30 12:38:40 -07:00
parent 4aa66b4a29
commit 70bbcf9106
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
if [ "$status" = "healthy" ]; then if [ "$status" = "healthy" ]; then
echo "Container is healthy" echo "Container is healthy"
exit 0 exit 0
elif [ "$status" = "unhealthy" ]; then else
echo "Container is unhealthy" echo "Container is unhealthy"
exit 1 exit 1
fi fi