Skip to content

Commit

Permalink
fix bug when deploying a service
Browse files Browse the repository at this point in the history
  • Loading branch information
Dido (Christoph Poelt) committed Feb 25, 2020
1 parent 074e6e5 commit 70293ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function deployTaskDefinition(options) {
assert.ok(options.service, 'ECS service name missing')
console.info('service given, updating service')
return getService(ecs, options)
.then(service => getTaskDefinition(ecs, service, options))
.then(service => getTaskDefinition(ecs, service.taskDefinition, options))
.then(taskDef => addNewTaskDefinition(ecs, taskDef, options))
.then(taskDef => updateService(ecs, taskDef, options))
.then(service => checkForTaskKill(ecs, service, options))
Expand Down

0 comments on commit 70293ab

Please sign in to comment.