Skip to content

Loading…

Fixed API param of availability zone placement (again) #256

Merged
merged 1 commit into from

2 participants

@irskep

Either they changed the API again or I got really lucky with random AZ assignment testing my last pull request. This time it's Really Fixed And I Really Did Check!

@garnaat garnaat merged commit b71c122 into boto:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 12, 2011
  1. Fixed API param of availability zone placement (again)

    Steve Johnson committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/emr/connection.py
View
2 boto/emr/connection.py
@@ -323,7 +323,7 @@ def _build_instance_args(self, ec2_keyname, availability_zone, master_instance_t
if ec2_keyname:
params['Instances.Ec2KeyName'] = ec2_keyname
if availability_zone:
- params['Placement.AvailabilityZone'] = availability_zone
+ params['Instances.Placement.AvailabilityZone'] = availability_zone
return params
Something went wrong with that request. Please try again.