You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/01/28 02:47:48 UTC
svn commit: r1439221 -
/libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py
Author: tomaz
Date: Mon Jan 28 01:47:48 2013
New Revision: 1439221
URL: http://svn.apache.org/viewvc?rev=1439221&view=rev
Log:
Include ELB fixes.
Contributed by John Carr, part of LIBCLOUD-284.
Modified:
libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py
Modified: libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py
URL: http://svn.apache.org/viewvc/libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py?rev=1439221&r1=1439220&r2=1439221&view=diff
==============================================================================
--- libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py (original)
+++ libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py Mon Jan 28 01:47:48 2013
@@ -35,6 +35,8 @@ class ELBResponse(AWSGenericResponse):
Amazon ELB response class.
"""
namespace = NS
+ exceptions = {}
+ xpath = 'Error'
class ELBConnection(SignedAWSConnection):
@@ -76,7 +78,7 @@ class ElasticLBDriver(Driver):
}
for i, z in enumerate(ex_members_availability_zones):
- zone = '-'.join((self.region, z))
+ zone = ''.join((self.region, z))
params['AvailabilityZones.member.%d' % (i + 1)] = zone
data = self.connection.request(ROOT, params=params).object