Browse Source

Fix the last test.

pull/705/head
omar 5 years ago
parent
commit
758c7fab61
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      octodns/provider/azuredns.py

+ 1
- 2
octodns/provider/azuredns.py View File

@ -102,8 +102,7 @@ class _AzureRecord(object):
return
# Refer to function docstring for key_name and class_name.
format_u_s = '' if record._type == 'A' else '_'
key_name = '{}{}records'.format(self.record_type, format_u_s).lower()
key_name = '{}_records'.format(self.record_type).lower()
if record._type == 'CNAME':
key_name = key_name[:len(key_name) - 1]
azure_class = self.TYPE_MAP[self.record_type]


Loading…
Cancel
Save