mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Non-configured root NS when supported is always a warning
This commit is contained in:
@@ -98,10 +98,8 @@ class BaseProvider(BaseSource):
|
||||
record = desired.root_ns
|
||||
if self.SUPPORTS_ROOT_NS:
|
||||
if not record:
|
||||
msg = 'root NS record supported, but no record is ' \
|
||||
f'configured for {desired.name}'
|
||||
fallback = 'ignoring it'
|
||||
self.supports_warn_or_except(msg, fallback)
|
||||
self.log.warning('root NS record supported, but no record '
|
||||
'is configured for %s', desired.name)
|
||||
else:
|
||||
if record:
|
||||
# we can't manage root NS records, get rid of it
|
||||
|
Reference in New Issue
Block a user