mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: warnings about 'not identify correctly the dns zone for domain' driving me crazy
This commit is contained in:
parent
60b7f63afa
commit
a7553501b0
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue