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)
downloaddesignate-b029ac9934720fde7610b4c955c002fc70f5ae42.tar.gz
Merge "Add warning message to akamai driver"ocata-em4.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 3e76d5cd..4ac4f609 100644
--- a/designate/backend/impl_akamai.py
+++ b/designate/backend/impl_akamai.py
@@ -197,6 +197,13 @@ class EnhancedDNSClient(object):
try:
self.client.service.deleteZones(zoneNames=zoneNames)
except Exception as e:
+ # *READ THIS SECIION BEFORE MAKING ANY CHANGES*
+ # Added 01/2017 by Graham Hayes.
+ # If you have run a spell checking tool against the repo, and it
+ # changes the line below - the patch will get -2'd.
+ # This is matching a string that comes back from the akamai API.
+ # If the akamai API changes - then this should change, but no
+ # other reason.
if 'Could not retrive object ID for zone' in str(e):
# The zone has already been purged, ignore and move on
pass