summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-01 20:33:48 +0000
committerGerrit Code Review <review@openstack.org>2017-02-01 20:33:48 +0000
commitb029ac9934720fde7610b4c955c002fc70f5ae42 (patch)
treec16e0ab5d94d2a90c224253f7cd087f17e185d4a
parent31ca41e05b4d0c0dfcc3ec72381d7df8b2ff1f62 (diff)
parentbf03da798b8e3fe951e3f77fc264942c1315cc3e (diff)
Merge "Add warning message to akamai driver"4.0.0.0rc14.0.0
-rw-r--r--designate/backend/impl_akamai.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/designate/backend/impl_akamai.py b/designate/backend/impl_akamai.py
index 3e76d5c..4ac4f60 100644
--- a/designate/backend/impl_akamai.py
+++ b/designate/backend/impl_akamai.py
@@ -197,6 +197,13 @@ class EnhancedDNSClient(object):
197 try: 197 try:
198 self.client.service.deleteZones(zoneNames=zoneNames) 198 self.client.service.deleteZones(zoneNames=zoneNames)
199 except Exception as e: 199 except Exception as e:
200 # *READ THIS SECIION BEFORE MAKING ANY CHANGES*
201 # Added 01/2017 by Graham Hayes.
202 # If you have run a spell checking tool against the repo, and it
203 # changes the line below - the patch will get -2'd.
204 # This is matching a string that comes back from the akamai API.
205 # If the akamai API changes - then this should change, but no
206 # other reason.
200 if 'Could not retrive object ID for zone' in str(e): 207 if 'Could not retrive object ID for zone' in str(e):
201 # The zone has already been purged, ignore and move on 208 # The zone has already been purged, ignore and move on
202 pass 209 pass