libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1490083 - /libcloud/trunk/libcloud/compute/drivers/cloudstack.py
Date Wed, 05 Jun 2013 23:37:47 GMT
Author: tomaz
Date: Wed Jun  5 23:37:47 2013
New Revision: 1490083

URL: http://svn.apache.org/r1490083
Log:
Fix a bug with referencing an invalid variable.

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

Modified: libcloud/trunk/libcloud/compute/drivers/cloudstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/cloudstack.py?rev=1490083&r1=1490082&r2=1490083&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/cloudstack.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/cloudstack.py Wed Jun  5 23:37:47 2013
@@ -255,7 +255,7 @@ class CloudStackNodeDriver(CloudStackDri
             location = self.list_locations()[0]
 
         if 'network_id' in kwargs:
-            request_args['networkids'] = network_id
+            request_args['networkids'] = kwargs['network_id']
 
         result = self._async_request(
             'deployVirtualMachine', name=name, displayname=name,



Mime
View raw message