Add warning message to akamai driver
Change-Id: I1af29a24630d3e26820c2e6770df4ee1f2a803db
This commit is contained in:
parent
66e69fb2c0
commit
bf03da798b
@ -197,6 +197,13 @@ class EnhancedDNSClient(object):
|
|||||||
try:
|
try:
|
||||||
self.client.service.deleteZones(zoneNames=zoneNames)
|
self.client.service.deleteZones(zoneNames=zoneNames)
|
||||||
except Exception as e:
|
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):
|
if 'Could not retrive object ID for zone' in str(e):
|
||||||
# The zone has already been purged, ignore and move on
|
# The zone has already been purged, ignore and move on
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user