Browse Source

no-op Provider.process_desired_zone

pull/757/head
Ross McFarland 4 years ago
parent
commit
536c0c68ec
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      octodns/provider/base.py

+ 5
- 0
octodns/provider/base.py View File

@ -44,9 +44,14 @@ class BaseProvider(BaseSource):
''' '''
return [] return []
def process_desired_zone(self, desired):
return desired
def plan(self, desired, processors=[]): def plan(self, desired, processors=[]):
self.log.info('plan: desired=%s', desired.name) self.log.info('plan: desired=%s', desired.name)
desired = self.process_desired_zone(desired)
existing = Zone(desired.name, desired.sub_zones) existing = Zone(desired.name, desired.sub_zones)
exists = self.populate(existing, target=True, lenient=True) exists = self.populate(existing, target=True, lenient=True)
if exists is None: if exists is None:


Loading…
Cancel
Save