From d639e1c42603a47917b747d021f47ea4d22b067f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 8 Aug 2024 19:24:16 +0200 Subject: [PATCH] ci: ignore boring warning 'Could not identify correctly the dns zone for domain sub.domain.tld' --- src/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.py b/src/dns.py index c5bd4c69d..902a68fea 100644 --- a/src/dns.py +++ b/src/dns.py @@ -433,7 +433,7 @@ def _get_dns_zone_for_domain(domain): zone = parent_list[-1] # Adding this otherwise the CI is flooding about those ... - if domain not in ["example.tld", "sub.example.tld", "domain.tld", "domain_a.dev", "domain_b.dev"]: + if domain not in ["example.tld", "sub.example.tld", "domain.tld", "sub.domain.tld", "domain_a.dev", "domain_b.dev"]: logger.warning( f"Could not identify correctly the dns zone for domain {domain}, returning {zone}" )