Skip to content

Commit

Permalink
Merge pull request boto#3127 from markreddy/issue/3126
Browse files Browse the repository at this point in the history
Fixes Issue boto#3126 EMR list_instances when fitlering by instance_group_types
  • Loading branch information
mtdowling committed Jul 6, 2015
2 parents f7574aa + b27acdf commit c9a4f36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boto/emr/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def list_instances(self, cluster_id, instance_group_id=None,

if instance_group_types:
self.build_list_params(params, instance_group_types,
'InstanceGroupTypeList.member')
'InstanceGroupTypes.member')

return self.get_object('ListInstances', params, InstanceList)

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/emr/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ def test_list_instances_with_types(self):
self.assert_request_parameters({
'Action': 'ListInstances',
'ClusterId': 'j-123',
'InstanceGroupTypeList.member.1': 'MASTER',
'InstanceGroupTypeList.member.2': 'TASK',
'InstanceGroupTypes.member.1': 'MASTER',
'InstanceGroupTypes.member.2': 'TASK',
'Version': '2009-03-31'
})

Expand Down

0 comments on commit c9a4f36

Please sign in to comment.