|
|
|
@ -420,7 +420,7 @@ class AzureProvider(BaseProvider): |
|
|
|
if typ in ['A', 'CNAME']: |
|
|
|
if self._check_for_alias(azrecord, typ): |
|
|
|
self.log.debug( |
|
|
|
'This entry is an Azure alias. Skipping. zone=%s record=%s, type=%s', |
|
|
|
'Skipping - ALIAS. zone=%s record=%s, type=%s', |
|
|
|
zone_name, record_name, typ) |
|
|
|
continue |
|
|
|
|
|
|
|
@ -437,8 +437,8 @@ class AzureProvider(BaseProvider): |
|
|
|
return exists |
|
|
|
|
|
|
|
def _check_for_alias(self, azrecord, typ): |
|
|
|
if (azrecord.target_resource.id and not azrecord.arecords |
|
|
|
and not azrecord.arecords and not azrecord.cname_record): |
|
|
|
if (azrecord.target_resource.id and not azrecord.arecords and not |
|
|
|
azrecord.arecords and not azrecord.cname_record): |
|
|
|
return True |
|
|
|
return False |
|
|
|
|
|
|
|
|