libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1470327 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/libvirt_driver.py
Date Sun, 21 Apr 2013 18:08:13 GMT
Author: tomaz
Date: Sun Apr 21 18:08:13 2013
New Revision: 1470327

URL: http://svn.apache.org/r1470327
Log:
Fix the destroy_node method in the experimental libvirt driver.

Contributed by Aymen Fitati.

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

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1470327&r1=1470326&r2=1470327&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Sun Apr 21 18:08:13 2013
@@ -1,5 +1,12 @@
                                    -*- coding: utf-8 -*-
 
+Changes with Apache Libcloud in deveploment:
+
+ *) Compute
+
+    - Fix destroy_node method in the experimental libvirt driver.
+      [Aymen Fitati]
+
 Changes with Apache Libcloud 0.12.4:
 
  *) Compute

Modified: libcloud/trunk/libcloud/compute/drivers/libvirt_driver.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/libvirt_driver.py?rev=1470327&r1=1470326&r2=1470327&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/libvirt_driver.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/libvirt_driver.py Sun Apr 21 18:08:13 2013
@@ -92,7 +92,7 @@ class LibvirtNodeDriver(NodeDriver):
 
     def destroy_node(self, node):
         domain = self._get_domain_for_node(node=node)
-        return domain.destroy(flags=0) == 0
+        return domain.destroy() == 0
 
     def ex_start(self, node):
         """



Mime
View raw message