1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

MX record values are repesented by a sub-struct.

This commit is contained in:
Terrence Cole
2017-08-02 10:20:10 -07:00
parent c185d28f14
commit 41617e69a7
2 changed files with 53 additions and 2 deletions

View File

@@ -337,9 +337,9 @@ class RackspaceProvider(BaseProvider):
return {
'name': remove_trailing_dot(record.fqdn),
'type': record._type,
'data': remove_trailing_dot(value),
'data': remove_trailing_dot(value.value),
'ttl': max(record.ttl, 300),
'priority': record.priority
'priority': value.priority
}
@staticmethod