mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: ignore boring warning 'Could not identify correctly the dns zone for domain sub.domain.tld'
This commit is contained in:
parent
6733526bee
commit
df320a44cf
1 changed files with 5 additions and 3 deletions
|
@ -481,9 +481,11 @@ def _get_dns_zone_for_domain(domain):
|
|||
else:
|
||||
zone = parent_list[-1]
|
||||
|
||||
logger.warning(
|
||||
f"Could not identify correctly the dns zone for domain {domain}, returning {zone}"
|
||||
)
|
||||
# Adding this otherwise the CI is flooding about those ...
|
||||
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}"
|
||||
)
|
||||
return zone
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue