Fix long lines. Change log to debug

This commit is contained in:
Piotr Pieprzycki
2020-07-15 22:55:48 +03:00
parent 2680b024bd
commit cbcd0b3f00
+3 -3
View File
@@ -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