mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Finish backing out test churn w/YamlProvider's optional SUPPORTS_ROOT_NS
This commit is contained in:
@@ -94,7 +94,8 @@ class BaseProvider(BaseSource):
|
||||
record = record.copy()
|
||||
record.values = [record.value]
|
||||
desired.add_record(record, replace=True)
|
||||
elif record._type == 'NS' and record.name == '':
|
||||
elif record._type == 'NS' and record.name == '' and \
|
||||
not self.SUPPORTS_ROOT_NS:
|
||||
# ignore, we can't manage root NS records
|
||||
msg = \
|
||||
f'root NS record not supported for {record.fqdn}'
|
||||
|
Reference in New Issue
Block a user