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

Add lenient config support to validate(_configs)

This commit is contained in:
Ross McFarland
2021-09-13 19:09:05 -07:00
parent b7f50c18d5
commit 2cf52180ac

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', [])