mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Provider._process_desired_zone should call .supports, rather than do in SUPPORTS
This commit is contained in:
@@ -59,7 +59,7 @@ class BaseProvider(BaseSource):
|
||||
'''
|
||||
|
||||
for record in desired.records:
|
||||
if record._type not in self.SUPPORTS:
|
||||
if not self.supports(record):
|
||||
msg = f'{record._type} records not supported for {record.fqdn}'
|
||||
fallback = 'omitting record'
|
||||
self.supports_warn_or_except(msg, fallback)
|
||||
|
Reference in New Issue
Block a user