Browse Source

Check subnets for re-used pools

pull/993/head
Viranch Mehta 3 years ago
parent
commit
75cca9d12f
No known key found for this signature in database GPG Key ID: D83D1392AE9F93B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/record/dynamic.py

+ 1
- 1
octodns/record/dynamic.py View File

@ -248,7 +248,7 @@ class _DynamicMixin(object):
reasons.append(
f'rule {rule_num} undefined pool ' f'"{pool}"'
)
elif pool in pools_seen and geos:
elif pool in pools_seen and (subnets or geos):
reasons.append(
f'rule {rule_num} invalid, target '
f'pool "{pool}" reused'


Loading…
Cancel
Save