Browse Source

Update the octodns meta record to include the name of all the targets

pull/219/head
Fabrice Baumann 8 years ago
parent
commit
1b69d22af6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      octodns/manager.py

+ 2
- 1
octodns/manager.py View File

@ -223,7 +223,8 @@ class Manager(object):
meta = Record.new(zone, 'octodns-meta', {
'type': 'TXT',
'ttl': 604800,
'value': 'provider={}'.format(target.id)
'value': 'providers={}'.format(['{}'.format(v.id)
for v in targets])
})
zone.add_record(meta, replace=True)
plan = target.plan(zone)


Loading…
Cancel
Save