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

YamlProvider no longer needs to copy over _octodns itself

This commit is contained in:
Ross McFarland
2023-11-14 07:27:20 -08:00
parent 65e87d0a46
commit c90afb3994

View File

@@ -386,8 +386,6 @@ class YamlProvider(BaseProvider):
if record.ttl == self.default_ttl:
# ttl is the default, we don't need to store it
del d['ttl']
if record._octodns:
d['octodns'] = record._octodns
# we want to output the utf-8 version of the name
data[record.decoded_name].append(d)