mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Merge branch 'master' into alias-support
This commit is contained in:
@@ -334,8 +334,8 @@ class DnsimpleProvider(BaseProvider):
|
||||
self._client.record_create(new.zone.name[:-1], params)
|
||||
|
||||
def _apply_Update(self, change):
|
||||
self._apply_Create(change)
|
||||
self._apply_Delete(change)
|
||||
self._apply_Create(change)
|
||||
|
||||
def _apply_Delete(self, change):
|
||||
existing = change.existing
|
||||
|
||||
@@ -30,6 +30,9 @@ class Ns1Provider(BaseProvider):
|
||||
super(Ns1Provider, self).__init__(id, *args, **kwargs)
|
||||
self._client = NSONE(apiKey=api_key)
|
||||
|
||||
def supports(self, record):
|
||||
return record._type != 'SSHFP'
|
||||
|
||||
def _data_for_A(self, _type, record):
|
||||
return {
|
||||
'ttl': record['ttl'],
|
||||
|
||||
@@ -199,4 +199,4 @@ class TestDnsimpleProvider(TestCase):
|
||||
call('DELETE', '/zones/unit.tests/records/11189899'),
|
||||
call('DELETE', '/zones/unit.tests/records/11189897'),
|
||||
call('DELETE', '/zones/unit.tests/records/11189898')
|
||||
])
|
||||
], any_order=True)
|
||||
|
||||
Reference in New Issue
Block a user