libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1491898 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/gogrid.py
Date Tue, 11 Jun 2013 18:48:33 GMT
Author: tomaz
Date: Tue Jun 11 18:48:32 2013
New Revision: 1491898

URL: http://svn.apache.org/r1491898
Log:
Fix a bug in the GoGrid driver get_uuid method.

Contributed by Bob Thompson, part of LIBCLOUD-341.

Modified:
    libcloud/trunk/CHANGES
    libcloud/trunk/libcloud/compute/drivers/gogrid.py

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1491898&r1=1491897&r2=1491898&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Tue Jun 11 18:48:32 2013
@@ -89,6 +89,9 @@ Changes with Apache Libcloud in deveplom
       specifying ex_clone_timeout argument. (LIBCLOUD-340)
       [Michal Galet]
 
+    - Fix a bug in the GoGrid driver get_uuid method. (LIBCLOUD-341)
+      [Bob Thompson]
+
  *) Storage
 
     - Fix an issue with double encoding the container name in the CloudFiles

Modified: libcloud/trunk/libcloud/compute/drivers/gogrid.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/gogrid.py?rev=1491898&r1=1491897&r2=1491898&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/gogrid.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/gogrid.py Tue Jun 11 18:48:32 2013
@@ -85,7 +85,7 @@ class GoGridNode(Node):
     # so uuid of node should not change after add is completed
     def get_uuid(self):
         return hashlib.sha1(
-            b("%s:%d" % (self.public_ips, self.driver.type))
+            b("%s:%s" % (self.public_ips, self.driver.type))
         ).hexdigest()
 
 



Mime
View raw message