mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Update octodns/provider/mythicbeasts.py
Seems fair to me! I think a lot of the suggestions you've mentioned are obvious ones that have been lost on me from being very confused trying to understand the available objects Co-Authored-By: Ross McFarland <[email protected]>
This commit is contained in:
co-authored by
Ross McFarland
parent
fd63150cac
commit
57b03971d8
@@ -339,7 +339,7 @@ class MythicBeastsProvider(BaseProvider):
|
||||
|
||||
base = '{} {} {} {}'.format(action, hostname, ttl, _type)
|
||||
|
||||
if re.match('[A]{1,4}', _type) is not None:
|
||||
if _type in ('A', 'AAAA'):
|
||||
for value in values:
|
||||
commands.append('{} {}'.format(base, value))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user