Fix Designate record deletion utility function

Change-Id: Ifa9fa2e7115612c7a9f5074fb09bac23955c9c1a
Closes-Bug: 1463058
This commit is contained in:
Chris St. Pierre 2015-06-08 09:40:06 -05:00
parent 63ef16c1a6
commit de54512c06

View File

@ -92,9 +92,9 @@ class DesignateScenario(base.Scenario):
if atomic_action:
with base.AtomicAction(self, "designate.delete_record"):
client.records.create(domain_id, record_id)
client.records.delete(domain_id, record_id)
client.records.delete(domain_id, record_id)
else:
client.records.delete(domain_id, record_id)
@base.atomic_action_timer("designate.create_server")
def _create_server(self, server=None):