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

Merge pull request #775 from octodns/validate-lenient-config

Add lenient config support to validate(_configs)
This commit is contained in:
Ross McFarland
2021-09-14 12:28:25 -07:00
committed by GitHub

View File

@@ -552,6 +552,7 @@ class Manager(object):
source_zone = source_zone
continue
lenient = config.get('lenient', False)
try:
sources = config['sources']
except KeyError:
@@ -572,7 +573,7 @@ class Manager(object):
for source in sources:
if isinstance(source, YamlProvider):
source.populate(zone)
source.populate(zone, lenient=lenient)
# check that processors are in order if any are specified
processors = config.get('processors', [])