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

Update octodns/provider/route53.py

Co-Authored-By: Ross McFarland <ross@github.com>
This commit is contained in:
Joshua Hügli
2019-12-10 17:03:31 +01:00
committed by GitHub
parent fcf32e2d44
commit b9d0586c7f

View File

@@ -678,7 +678,7 @@ class Route53Provider(BaseProvider):
del_set = self.delegation_set_id
self.log.debug('_get_zone_id: no matching zone, creating, '
'ref=%s', ref)
if self.delegation_set_id:
if del_set:
resp = self._conn.create_hosted_zone(Name=name,
CallerReference=ref,
DelegationSetId=del_set)