You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/04/21 20:10:12 UTC

svn commit: r1470328 - in /libcloud/branches/0.12.x: ./ CHANGES libcloud/compute/drivers/libvirt_driver.py

Author: tomaz
Date: Sun Apr 21 18:10:12 2013
New Revision: 1470328

URL: http://svn.apache.org/r1470328
Log:
Backport commit from trunk.

Modified:
    libcloud/branches/0.12.x/   (props changed)
    libcloud/branches/0.12.x/CHANGES
    libcloud/branches/0.12.x/libcloud/compute/drivers/libvirt_driver.py

Propchange: libcloud/branches/0.12.x/
------------------------------------------------------------------------------
  Merged /libcloud/trunk:r1470327

Modified: libcloud/branches/0.12.x/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/branches/0.12.x/CHANGES?rev=1470328&r1=1470327&r2=1470328&view=diff
==============================================================================
--- libcloud/branches/0.12.x/CHANGES (original)
+++ libcloud/branches/0.12.x/CHANGES Sun Apr 21 18:10:12 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/branches/0.12.x/libcloud/compute/drivers/libvirt_driver.py
URL: http://svn.apache.org/viewvc/libcloud/branches/0.12.x/libcloud/compute/drivers/libvirt_driver.py?rev=1470328&r1=1470327&r2=1470328&view=diff
==============================================================================
--- libcloud/branches/0.12.x/libcloud/compute/drivers/libvirt_driver.py (original)
+++ libcloud/branches/0.12.x/libcloud/compute/drivers/libvirt_driver.py Sun Apr 21 18:10:12 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):
         """