mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Fix NS1 IPv6 monitor field
This commit is contained in:
@@ -1048,7 +1048,7 @@ class Ns1Provider(BaseProvider):
|
||||
}
|
||||
|
||||
if _type == 'AAAA':
|
||||
ret['config']['v6'] = True
|
||||
ret['config']['ipv6'] = True
|
||||
|
||||
if record.healthcheck_protocol != 'TCP':
|
||||
# IF it's HTTP we need to send the request string
|
||||
|
||||
@@ -926,7 +926,7 @@ class TestNs1ProviderDynamic(TestCase):
|
||||
value = '::ffff:3.4.5.6'
|
||||
record = self.aaaa_record()
|
||||
monitor = provider._monitor_gen(record, value)
|
||||
self.assertTrue(monitor['config']['v6'])
|
||||
self.assertTrue(monitor['config']['ipv6'])
|
||||
|
||||
def test_monitor_gen_CNAME(self):
|
||||
provider = Ns1Provider('test', 'api-key')
|
||||
|
||||
Reference in New Issue
Block a user