Skip to content

Commit

Permalink
TR-4781 code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalvin Vasconcellos authored and Kalvin Vasconcellos committed Dec 21, 2023
1 parent ce8bf1b commit e951516
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 @@ -138,7 +138,7 @@ function assertRequiredArgumentsSet() {
AWS_ECS="$AWS_ECS --profile $AWS_PROFILE"
fi

if [[ "$IS_ROLLBACK" != false ]]; then
if [[ "$IS_ROLLBACK" == true ]]; then
if [ $CLUSTER == false ]; then
echo "CLUSTER is required. You can pass the value using -c or --cluster"
exit 5
Expand Down Expand Up @@ -589,7 +589,7 @@ if [ "$BASH_SOURCE" == "$0" ]; then
assumeRole
fi

if [[ "$IS_ROLLBACK" != false ]]; then
if [[ "$IS_ROLLBACK" == true ]]; then
rollback

exit 1
Expand Down

0 comments on commit e951516

Please sign in to comment.