lib/ec2/ec2.rb in aws-2.4.1 vs lib/ec2/ec2.rb in aws-2.4.2
- old
+ new
@@ -403,10 +403,10 @@
on_exception
end
def describe_availability_zones(options={})
link = generate_request("DescribeAvailabilityZones", options={})
- request_info_xml_simple(:rds_connection, @params, link, @logger,
+ request_info_xml_simple(self.class.connection_name, @params, link, @logger,
:group_tags =>{"DBInstances" =>"DBInstance",
"DBParameterGroups"=>"DBParameterGroup",
"DBSecurityGroups" =>"DBSecurityGroup",
"EC2SecurityGroups"=>"EC2SecurityGroup",
"IPRanges" =>"IPRange"},