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:28:17 +01:00
parent a7553501b0
commit 29a452c1d3

View file

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