Reuse records.
This commit is contained in:
parent
d548244fa4
commit
996d04fec0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -110,7 +110,7 @@ def main(config, level, force_refresh):
|
|||
logger.debug(' - %s', repr(r))
|
||||
records = [
|
||||
r
|
||||
for r in get_records(ovh_client, {'zone': config['zone']})
|
||||
for r in records
|
||||
if r['fieldType'] == config['field_type']
|
||||
and r['zone'] == config['zone']
|
||||
and r['subDomain'] == config['subdomain']
|
||||
|
|
Loading…
Reference in a new issue