mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Check subnets for re-used pools
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user