Browse Source

formatting

pull/1026/head
Ross McFarland 2 years ago
parent
commit
f14c1f0b64
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      octodns/manager.py

+ 4
- 2
octodns/manager.py View File

@ -508,12 +508,14 @@ class Manager(object):
# we've found a dynamic config element
# find its sources
sources = sources or self._get_sources(name, config, eligible_sources)
sources = sources or self._get_sources(
name, config, eligible_sources
)
self.log.info('sync: dynamic zone=%s, sources=%s', name, sources)
for source in sources:
if not hasattr(source, 'list_zones'):
raise ManagerException(
f'dynamic zone={name} includes a source that does not support `list_zones`'
f'dynamic zone={name} includes a source, {source.id}, that does not support `list_zones`'
)
for zone_name in source.list_zones():
if zone_name in zones:


Loading…
Cancel
Save