libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 01/04: Fix invalid method signature.
Date Mon, 02 Dec 2019 20:57:25 GMT
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 5e6dfd5143e5b9015ae11b2f662502c9867e8938
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Mon Dec 2 21:39:20 2019 +0100

    Fix invalid method signature.
---
 libcloud/compute/drivers/azure_arm.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 0c90db2..7babd7d 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -1996,7 +1996,7 @@ class AzureNodeDriver(NodeDriver):
                                     method='POST')
         return r.object
 
-    def stop_node(self, node, deallocate=True):
+    def stop_node(self, node, ex_deallocate=True):
         """
         Stop a running node.
 
@@ -2011,7 +2011,7 @@ class AzureNodeDriver(NodeDriver):
         :type deallocate: ``bool``
         """
 
-        if deallocate:
+        if ex_deallocate:
             target = "%s/deallocate" % node.id
         else:
             target = "%s/powerOff" % node.id


Mime
View raw message