You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/02/21 16:25:51 UTC

[1/2] libcloud git commit: Patch for deletion against asynchronous Google subnetwork API

Repository: libcloud
Updated Branches:
  refs/heads/trunk 7366122bc -> b439b161c


Patch for deletion against asynchronous Google subnetwork API


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

Branch: refs/heads/trunk
Commit: 1b7e87b84785bbc19892555d77f62472a5e582d2
Parents: 7366122
Author: John Baublitz <jo...@cambridgesemantics.com>
Authored: Tue Jan 10 11:29:20 2017 -0500
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Feb 21 17:25:27 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/1b7e87b8/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 1195170..5eccac5 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -6906,7 +6906,7 @@ class GCENodeDriver(NodeDriver):
                 region_name = region.name
 
         request = '/regions/%s/subnetworks/%s' % (region_name, subnet_name)
-        self.connection.request(request, method='DELETE').object
+        self.connection.async_request(request, method='DELETE').object
         return True
 
     def ex_get_subnetwork(self, name, region=None):


[2/2] libcloud git commit: Fix test case for ex_destroy_subnetwork Closes #974

Posted by an...@apache.org.
Fix test case for ex_destroy_subnetwork
Closes #974


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

Branch: refs/heads/trunk
Commit: b439b161cdc1a795ad45cb4c72f146ae83cefc6e
Parents: 1b7e87b
Author: John Baublitz <jo...@cambridgesemantics.com>
Authored: Tue Jan 10 19:40:39 2017 -0500
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Feb 21 17:25:33 2017 +0100

----------------------------------------------------------------------
 .../gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b439b161/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json b/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json
index 855eda5..1b19b3d 100644
--- a/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json
+++ b/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_cf_972cf02e6ad49112.json
@@ -1,4 +1,5 @@
 {
+ "status": "DONE",
  "kind": "compute#subnetwork",
  "id": "4297043163355844284",
  "creationTimestamp": "2016-03-25T05:34:27.209-07:00",