mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
no-op Provider.process_desired_zone
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user