Skip to content

Commit

Permalink
Fix silinternational#90 keep "placementConstraints" from old task def…
Browse files Browse the repository at this point in the history
…inition
  • Loading branch information
inakiabt authored Feb 23, 2017
1 parent 3cd2c54 commit 11d3a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ NEW_DEF_JQ_FILTER="family: .family, volumes: .volumes, containerDefinitions: .co

# Some options in task definition should only be included in new definition if present in
# current definition. If found in current definition, append to JQ filter.
CONDITIONAL_OPTIONS=(networkMode taskRoleArn)
CONDITIONAL_OPTIONS=(networkMode taskRoleArn placementConstraints)
for i in "${CONDITIONAL_OPTIONS[@]}"; do
re=".*${i}.*"
if [[ "$DEF" =~ $re ]]; then
Expand Down

0 comments on commit 11d3a48

Please sign in to comment.