libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quent...@apache.org
Subject [1/3] libcloud git commit: azure_arm: Fix stop_node without deallocation
Date Fri, 06 Oct 2017 19:11:46 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk bba685f23 -> 311a9546b


azure_arm: Fix stop_node without deallocation

Closes #1003

Signed-off-by: Quentin Pradet <quentinp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/3f29c354
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/3f29c354
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/3f29c354

Branch: refs/heads/trunk
Commit: 3f29c35434100112e71147779ef05716b4de7d64
Parents: bba685f
Author: Markos Gogoulos <mgogoulos@mist.io>
Authored: Fri Oct 6 23:03:03 2017 +0400
Committer: Quentin Pradet <quentinp@apache.org>
Committed: Fri Oct 6 23:03:56 2017 +0400

----------------------------------------------------------------------
 libcloud/compute/drivers/azure_arm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3f29c354/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 38ca2ae..225a9b5 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -1783,7 +1783,7 @@ class AzureNodeDriver(NodeDriver):
         if deallocate:
             target = "%s/deallocate" % node.id
         else:
-            target = "%s/stop" % node.id
+            target = "%s/powerOff" % node.id
         r = self.connection.request(target,
                                     params={"api-version": "2015-06-15"},
                                     method='POST')


Mime
View raw message