Skip to content

Commit

Permalink
Merge branch 'hotfix/1.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabfuel committed Sep 20, 2017
2 parents 83732d5 + d579d6f commit cb74aac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions ecs_deploy/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def register_task_definition(self, family, containers, volumes, role_arn,
family=family,
containerDefinitions=containers,
volumes=volumes,
taskRoleArn=role_arn or u'',
taskRoleArn=role_arn,
**additional_properties
)

Expand Down Expand Up @@ -140,16 +140,16 @@ def get_warnings(self, since=None, until=None):

class EcsTaskDefinition(object):
def __init__(self, containerDefinitions, volumes, family, revision,
taskRoleArn, status, taskDefinitionArn, requiresAttributes,
**kwargs):
status, taskDefinitionArn, requiresAttributes,
taskRoleArn=None, **kwargs):
self.containers = containerDefinitions
self.volumes = volumes
self.family = family
self.revision = revision
self.role_arn = taskRoleArn
self.arn = taskDefinitionArn
self.status = status
self.arn = taskDefinitionArn
self.requires_attributes = requiresAttributes
self.role_arn = taskRoleArn or u''
self.additional_properties = kwargs
self._diff = []

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

setup(
name='ecs-deploy',
version='1.3.0',
version='1.3.1',
url='https://github.com/fabfuel/ecs-deploy',
download_url='https://github.com/fabfuel/ecs-deploy/archive/1.3.0.tar.gz',
download_url='https://github.com/fabfuel/ecs-deploy/archive/1.3.1.tar.gz',
license='BSD',
author='Fabian Fuelling',
author_email='pypi@fabfuel.de',
Expand Down
1 change: 0 additions & 1 deletion tests/test_ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
u'family': TASK_DEFINITION_FAMILY_2,
u'revision': TASK_DEFINITION_REVISION_2,
u'volumes': deepcopy(TASK_DEFINITION_VOLUMES_2),
u'taskRoleArn': '',
u'containerDefinitions': deepcopy(TASK_DEFINITION_CONTAINERS_2),
u'status': u'active',
u'requiresAttributes': {},
Expand Down

0 comments on commit cb74aac

Please sign in to comment.