Skip to content

Commit

Permalink
Merge pull request #256 from vpaul-dev/develop
Browse files Browse the repository at this point in the history
Fix: Service Deployment resulting as successful when encountering UNHEALTHY tasks.
  • Loading branch information
forevermatt authored Jun 3, 2022
2 parents e8a47ea + 6e59735 commit 3becd7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecs-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,10 @@ function updateServiceForceNewDeployment() {
function updateService() {
if [[ $(echo ${NEW_DEF} | jq ".containerDefinitions[0].healthCheck != null") == true ]]; then
checkFieldName="healthStatus"
checkFieldValue="HEALTHY"
checkFieldValue='"HEALTHY"'
else
checkFieldName="lastStatus"
checkFieldValue="RUNNING"
checkFieldValue='"RUNNING"'
fi

UPDATE_SERVICE_SUCCESS="false"
Expand Down

0 comments on commit 3becd7e

Please sign in to comment.