summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-28 10:03:52 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-28 10:03:52 +0000
commit649a029cf3352b880788c339724a0d9e448f8cff (patch)
treea18c601bf9da31502ed770278982d0f6fdc56ec6
parent9604ecc50eae62689235e3e29eefa30be13676ed (diff)
downloadciat-tester-649a029cf3352b880788c339724a0d9e448f8cff.tar.gz
-rwxr-xr-xtester3
1 files changed, 1 insertions, 2 deletions
diff --git a/tester b/tester
index 0366399..c3b3852 100755
--- a/tester
+++ b/tester
@@ -238,8 +238,7 @@ class OpenstackSystem(System):
self.ip_addr = free_ip.ip
break
else:
- # TODO: Implement this function
- delete_instance_and_image(self.id)
+ self.terminate()
raise cliapp.AppException('Could not get a floating IP')
print(str(self) + 'Obtained IP address: ' + self.ip_addr)