Skip to content

Commit

Permalink
fix(provider/amazon): restore finding imageId from trigger properties (
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Feb 22, 2018
1 parent 7b9d630 commit 493ed17
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ class AmazonServerGroupCreator implements ServerGroupCreator, DeploymentDetailsA
if (!operation.imageId && trigger.parameters.imageName) {
operation.imageId = trigger.parameters.imageName
}
if (!operation.imageId && trigger.properties && trigger.properties.imageName) {
operation.imageId = trigger.properties.imageName
}
}
}
}
Expand Down

0 comments on commit 493ed17

Please sign in to comment.