libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1439221 - /libcloud/branches/0.12.x/libcloud/loadbalancer/drivers/elb.py
Date Mon, 28 Jan 2013 01:47:48 GMT
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



Mime
View raw message