Browse Source

Merge pull request #1314 from octodns/fix-manager-typos

Fix logging issues in Manager
pull/1316/head
Ross McFarland 2 months ago
committed by GitHub
parent
commit
8ca21aa2ea
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions
  1. +4
    -0
      .changelog/bec5cc4923da4128b90cd6bc6d66af76.md
  2. +2
    -2
      octodns/manager.py

+ 4
- 0
.changelog/bec5cc4923da4128b90cd6bc6d66af76.md View File

@ -0,0 +1,4 @@
---
type: none
---
Fix logging issues in Manager: convert generator to list and correct log method prefix

+ 2
- 2
octodns/manager.py View File

@ -570,7 +570,7 @@ class Manager(object):
]:
return None
self.log.info('sync: sources=%s', sources)
self.log.info('_get_sources: sources=%s', sources)
try:
# rather than using a list comprehension, we break this loop
@ -630,7 +630,7 @@ class Manager(object):
self.log.info(
'_preprocess_zones: dynamic zone=%s, sources=%s',
name,
(s.id for s in found_sources),
list(s.id for s in found_sources),
)
candidates = set()
for source in found_sources:


Loading…
Cancel
Save