mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Explicit list on filter when checking for non-existant targets
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user