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 2019/10/12 19:48:29 UTC

[libcloud] 04/05: Fix typo.

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 a02bf62adf47cf738de648e651baa51eb8db65fb
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Oct 12 21:40:10 2019 +0200

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

diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 54ba297..d890a64 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -6852,7 +6852,7 @@ class GCENodeDriver(NodeDriver):
         """
         request = '/zones/%s/instances/%s' % (node.extra['zone'].name,
                                               node.name)
-        if sync:
+        if ex_sync:
             self.connection.async_request(request, method='DELETE')
         else:
             self.connection.request(request, method='DELETE')