mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Use the proper arity when accessing quoted data records.
This commit is contained in:
@@ -164,9 +164,9 @@ class RackspaceProvider(BaseProvider):
|
||||
|
||||
def _data_for_quoted(self, rrset):
|
||||
return {
|
||||
'type': rrset['type'],
|
||||
'values': [strip_quotes(r['content']) for r in rrset['records']],
|
||||
'ttl': rrset['ttl']
|
||||
'type': rrset[0]['type'],
|
||||
'values': [strip_quotes(r['content']) for r in rrset[0]['records']],
|
||||
'ttl': rrset[0]['ttl']
|
||||
}
|
||||
|
||||
_data_for_SPF = _data_for_quoted
|
||||
|
Reference in New Issue
Block a user