From 58a8f71991f06c6ff1ecc75a6f7a9f2755ee280e Mon Sep 17 00:00:00 2001 From: geemus Date: Mon, 24 Jan 2011 11:46:02 -0800 Subject: [PATCH] [aws|elb] fix indexed_param usage closes #141 --- lib/fog/aws/requests/elb/create_load_balancer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/requests/elb/create_load_balancer.rb b/lib/fog/aws/requests/elb/create_load_balancer.rb index 6b8011322..26e3809b5 100644 --- a/lib/fog/aws/requests/elb/create_load_balancer.rb +++ b/lib/fog/aws/requests/elb/create_load_balancer.rb @@ -22,7 +22,7 @@ module Fog # * 'CreateLoadBalancerResult'<~Hash>: # * 'DNSName'<~String> - DNS name for the newly created ELB def create_load_balancer(availability_zones, lb_name, listeners) - params = ELB.indexed_param('AvailabilityZones.member', [*availability_zones]) + params = AWS.indexed_param('AvailabilityZones.member', [*availability_zones]) listener_protocol = [] listener_lb_port = []