libcloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r908764 - /incubator/libcloud/trunk/libcloud/drivers/voxel.py
Date Wed, 10 Feb 2010 23:54:10 GMT
Author: pquerna
Date: Wed Feb 10 23:54:02 2010
New Revision: 908764

URL: http://svn.apache.org/viewvc?rev=908764&view=rev
Log:
Use the right function in reboot node and destroy node

Modified:
    incubator/libcloud/trunk/libcloud/drivers/voxel.py

Modified: incubator/libcloud/trunk/libcloud/drivers/voxel.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/voxel.py?rev=908764&r1=908763&r2=908764&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/voxel.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/voxel.py Wed Feb 10 23:54:02 2010
@@ -180,7 +180,7 @@
        params = {'method': 'voxel.devices.power',
                  'device_id': node.id,
                  'power_action': 'reboot'}
-       return _getstatus(self.connection.request('', params=params).object)
+       return self._getstatus(self.connection.request('', params=params).object)
 
    def destroy_node(self, node):
        """
@@ -188,7 +188,7 @@
        """
        params = {'method': 'voxel.voxcloud.delete',
                  'device_id': node.id}
-       return _getstatus(self.connection.request('', params=params).object)
+       return self._getstatus(self.connection.request('', params=params).object)
 
    def list_locations(self):
        params = {"method": "voxel.voxcloud.facilities.list"}



Mime
View raw message