mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Merge branch 'master' into py3-f-strings
This commit is contained in:
@@ -547,6 +547,7 @@ class Manager(object):
|
||||
source_zone = source_zone
|
||||
continue
|
||||
|
||||
lenient = config.get('lenient', False)
|
||||
try:
|
||||
sources = config['sources']
|
||||
except KeyError:
|
||||
@@ -566,7 +567,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', [])
|
||||
|
||||
@@ -259,7 +259,7 @@ class DigitalOceanProvider(BaseProvider):
|
||||
def _params_for_CAA(self, record):
|
||||
for value in record.values:
|
||||
yield {
|
||||
'data': f'{value.value}.',
|
||||
'data': value.value,
|
||||
'flags': value.flags,
|
||||
'name': record.name,
|
||||
'tag': value.tag,
|
||||
|
||||
@@ -186,7 +186,7 @@ class TestDigitalOceanProvider(TestCase):
|
||||
'name': '@',
|
||||
'ttl': 300, 'type': 'A'}),
|
||||
call('POST', '/domains/unit.tests/records', data={
|
||||
'data': 'ca.unit.tests.',
|
||||
'data': 'ca.unit.tests',
|
||||
'flags': 0, 'name': '@',
|
||||
'tag': 'issue',
|
||||
'ttl': 3600, 'type': 'CAA'}),
|
||||
|
||||
Reference in New Issue
Block a user