libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1103113 - /incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py
Date Sat, 14 May 2011 13:55:08 GMT
Author: tomaz
Date: Sat May 14 13:55:07 2011
New Revision: 1103113

URL: http://svn.apache.org/viewvc?rev=1103113&view=rev
Log:
Use DEFAULT_ALGORITHM constant.

Modified:
    incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py

Modified: incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py?rev=1103113&r1=1103112&r2=1103113&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py (original)
+++ incubator/libcloud/trunk/libcloud/loadbalancer/drivers/gogrid.py Sat May 14 13:55:07 2011
@@ -61,7 +61,7 @@ class GoGridLBDriver(BaseGoGridDriver, D
         return self._to_balancers(resp.object)[0]
 
     def create_balancer(self, name, members, protocol='http', port=80,
-                        algorithm=Algorithm.ROUND_ROBIN):
+                        algorithm=DEFAULT_ALGORITHM):
         balancer = self.ex_create_balancer_nowait(name, members, protocol,
                                                   port, algorithm)
 



Mime
View raw message