Skip to content

Commit

Permalink
remove duplicate call to 'withContainerDefinitions'
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkipu committed Aug 24, 2022
1 parent 24e0d47 commit d80e13e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ TaskDefinition registerTemplate(final String cloudName, final ECSTaskTemplate te
final RegisterTaskDefinitionRequest request = new RegisterTaskDefinitionRequest()
.withFamily(familyName)
.withVolumes(template.getVolumeEntries())
.withContainerDefinitions(def)
.withPlacementConstraints(template.getPlacementConstraintEntries())
.withTags(tags)
.withContainerDefinitions(def);
Expand Down

0 comments on commit d80e13e

Please sign in to comment.