Permalink
Browse files

Merge pull request #3399 from sendkb/develop

Fix for listing EMR steps based on cluster_states filter
  • Loading branch information...
2 parents e30297b + 5645b4f commit 0f92f3551f03758fac031e5642299db6ecabd2fb @jamesls jamesls committed Dec 23, 2015
Showing with 3 additions and 3 deletions.
  1. +1 −1 boto/emr/connection.py
  2. +2 −2 tests/unit/emr/test_connection.py
@@ -273,7 +273,7 @@ def list_steps(self, cluster_id, step_states=None, marker=None):
params['Marker'] = marker
if step_states:
- self.build_list_params(params, step_states, 'StepStateList.member')
+ self.build_list_params(params, step_states, 'StepStates.member')
return self.get_object('ListSteps', params, StepSummaryList)
@@ -500,8 +500,8 @@ def test_list_steps_with_states(self):
self.assert_request_parameters({
'Action': 'ListSteps',
'ClusterId': 'j-123',
- 'StepStateList.member.1': 'COMPLETED',
- 'StepStateList.member.2': 'FAILED',
+ 'StepStates.member.1': 'COMPLETED',
+ 'StepStates.member.2': 'FAILED',
'Version': '2009-03-31'
})
self.assertTrue(isinstance(response, StepSummaryList))

0 comments on commit 0f92f35

Please sign in to comment.