diff --git a/src/main/java/com/cloudbees/jenkins/plugins/amazonecs/ECSService.java b/src/main/java/com/cloudbees/jenkins/plugins/amazonecs/ECSService.java index 01a33a64..24f947e6 100644 --- a/src/main/java/com/cloudbees/jenkins/plugins/amazonecs/ECSService.java +++ b/src/main/java/com/cloudbees/jenkins/plugins/amazonecs/ECSService.java @@ -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);