1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add zones aliases support to octodns-compare command

This commit is contained in:
Jonathan Leroy
2020-10-21 19:11:25 +02:00
parent 06c18f4063
commit 12c3aa64a8

View File

@@ -399,12 +399,11 @@ class Manager(object):
except KeyError as e:
raise ManagerException('Unknown source: {}'.format(e.args[0]))
sub_zones = self.configured_sub_zones(zone)
za = Zone(zone, sub_zones)
za = self.get_zone(zone)
for source in a:
source.populate(za)
zb = Zone(zone, sub_zones)
zb = self.get_zone(zone)
for source in b:
source.populate(zb)