libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1454662 - /libcloud/trunk/libcloud/compute/drivers/digitalocean.py
Date Sat, 09 Mar 2013 06:27:44 GMT
Author: tomaz
Date: Sat Mar  9 06:27:44 2013
New Revision: 1454662

URL: http://svn.apache.org/r1454662
Log:
Take **kwargs so deploy_node works correctly.

Modified:
    libcloud/trunk/libcloud/compute/drivers/digitalocean.py

Modified: libcloud/trunk/libcloud/compute/drivers/digitalocean.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/digitalocean.py?rev=1454662&r1=1454661&r2=1454662&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/digitalocean.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/digitalocean.py Sat Mar  9 06:27:44 2013
@@ -94,7 +94,8 @@ class DigitalOceanNodeDriver(NodeDriver)
         data = self.connection.request('/sizes').object['sizes']
         return list(map(self._to_size, data))
 
-    def create_node(self, name, size, image, location, ex_ssh_key_ids=None):
+    def create_node(self, name, size, image, location, ex_ssh_key_ids=None,
+                    **kwargs):
         params = {'name': name, 'size_id': size.id, 'image_id': image.id,
                   'region_id': location.id}
 



Mime
View raw message