ci: warnings about 'not identify correctly the dns zone for domain' driving me crazy

This commit is contained in:
Alexandre Aubin 2023-11-29 00:26:19 +01:00
parent 60b7f63afa
commit a7553501b0

View file

@ -481,9 +481,11 @@ def _get_dns_zone_for_domain(domain):
else: else:
zone = parent_list[-1] zone = parent_list[-1]
logger.warning( # Adding this otherwise the CI is flooding about those ...
f"Could not identify correctly the dns zone for domain {domain}, returning {zone}" if domain not in ["example.tld", "sub.example.tld"]:
) logger.warning(
f"Could not identify correctly the dns zone for domain {domain}, returning {zone}"
)
return zone return zone