Browse Source

Add - (non-empty) Record._octodns dict to YAML file output.

pull/293/head
Matt 7 years ago
parent
commit
933a56d8f9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      octodns/provider/yaml.py

+ 2
- 0
octodns/provider/yaml.py View File

@ -89,6 +89,8 @@ 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
data[record.name].append(d)
# Flatten single element lists


Loading…
Cancel
Save