Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix ref to taskDefinition in describe_task_definition response #5

Merged
merged 2 commits into from
Apr 29, 2019

Conversation

hectcastro
Copy link
Contributor

@hectcastro hectcastro commented Apr 29, 2019

Overview

The response for describe_task_definition contains several top-level keys, one of which is taskDefinition. In order to get task definition specific attributes (e.g., networkMode), the top-level taskDefinition key needs to be retrieved and assigned to task_def.

Testing Instructions

Please use https://github.com/azavea/pwd-garp/pull/835 to test this PR.

The response for `describe_task_definition` contains several top-level
keys, one of which is `taskDefinition`. In order to get task definition
specific attributes (e.g., `networkMode`), the top-level
`taskDefinition` key needs to be retrieved and assigned to `task_def`.
@hectcastro hectcastro requested a review from rbreslow April 29, 2019 15:33
@hectcastro hectcastro requested review from kellyi and removed request for rbreslow April 29, 2019 15:44
@hectcastro hectcastro mentioned this pull request Apr 29, 2019
Copy link

@kellyi kellyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this with https://github.com/azavea/pwd-garp/pull/835 and it worked! 👍

@hectcastro hectcastro merged commit fed9f95 into develop Apr 29, 2019
@hectcastro hectcastro deleted the feature/hmc/fix-task-def-ref branch April 29, 2019 21:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants