1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Update DSFMonitor labels to include type

Would have prevented both A and AAAA exisiting on the same node.
This commit is contained in:
Ross McFarland
2017-06-21 14:34:21 -07:00
parent 72eff706da
commit b6cd08e659
4 changed files with 99 additions and 23 deletions

View File

@@ -500,8 +500,8 @@ class Route53Provider(BaseProvider):
# use
expected_re = re.compile(r'^\d\d\d\d:{}:{}:'
.format(record._type, record.name))
# Until the v1.0 release we'll clean out the previous version of
# Route53 health checks as best as we can.
# UNITL 1.0: we'll clean out the previous version of Route53 health
# checks as best as we can.
expected_legacy_host = record.fqdn[:-1]
expected_legacy = '0000:{}:'.format(record._type)
for id, health_check in self.health_checks.items():