Fix invalid method signature.
@@ -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
