Browse Source

Explicit list on filter when checking for non-existant targets

pull/384/head
Ross McFarland 6 years ago
parent
commit
25cc4f42db
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      octodns/manager.py

+ 2
- 1
octodns/manager.py View File

@ -263,7 +263,8 @@ class Manager(object):
except KeyError:
raise Exception('Zone {} is missing targets'.format(zone_name))
if eligible_targets:
targets = filter(lambda d: d in eligible_targets, targets)
targets = list(filter(lambda d: d in eligible_targets,
targets))
if not targets:
# Don't bother planning (and more importantly populating) zones


Loading…
Cancel
Save