Browse Source

Provider._process_desired_zone should call .supports, rather than do in SUPPORTS

pull/924/head
Ross McFarland 3 years ago
parent
commit
72244ba161
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/provider/base.py

+ 1
- 1
octodns/provider/base.py View File

@ -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)


Loading…
Cancel
Save