libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [7/9] git commit: Destroy -> Delete
Date Wed, 25 Dec 2013 20:53:13 GMT
Destroy -> Delete


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

Branch: refs/heads/trunk
Commit: 07c9f146e176d7ce4b4c265ef44c12cd6939f019
Parents: 78e45c4
Author: Chris DeRamus <chris@divvycloud.com>
Authored: Tue Dec 24 10:10:46 2013 -0500
Committer: Chris DeRamus <chris@divvycloud.com>
Committed: Tue Dec 24 10:10:46 2013 -0500

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py   | 2 +-
 libcloud/test/compute/test_ec2.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/07c9f146/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index ca43ac2..346d261 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1538,7 +1538,7 @@ class BaseEC2NodeDriver(NodeDriver):
 
         return network
 
-    def ex_destroy_network(self, vpc_id):
+    def ex_delete_network(self, vpc_id):
         """
         Deletes a network/VPC.
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/07c9f146/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py
index f6bb902..83cdb8d 100644
--- a/libcloud/test/compute/test_ec2.py
+++ b/libcloud/test/compute/test_ec2.py
@@ -804,11 +804,11 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin):
         self.assertEqual('192.168.55.0/24', vpc.cidr_block)
         self.assertEqual('pending', vpc.extra['state'])
 
-    def test_ex_destroy_network(self):
+    def test_ex_delete_network(self):
         vpcs = self.driver.ex_list_networks()
         vpc = vpcs[0]
 
-        resp = self.driver.ex_destroy_network(vpc.id)
+        resp = self.driver.ex_delete_network(vpc.id)
         self.assertTrue(resp)
 
 


Mime
View raw message