matching from fqdn

This commit is contained in:
Maria Haider 2024-01-10 10:49:06 +01:00
parent b01f268bce
commit 62047f2d93
Signed by: mariah
GPG key ID: 7414A760CA747E57

View file

@ -25,7 +25,7 @@ else:
environ = "prod"
pattern = r"(.+test.+\.komreg\.net)|(.+\.test\.sveidas\.se)"
if re.match(pattern, domainname):
if re.match(pattern, fqdn):
environ = "test"
host_info = {