updated pattern for setup_cosmos_modules

This commit is contained in:
Erik Bergström 2024-01-10 14:45:11 +01:00
parent 8d7eeddfb1
commit 57d7988a2e
No known key found for this signature in database
GPG key ID: 49A4251C96E0A9D4

View file

@ -23,7 +23,7 @@ except OSError:
else:
domainname = '.'.join(fqdn.split(".")[1:])
environ = "prod"
pattern = r"(.+test.+\.komreg\.net)|(.+\.test\.sveidas\.se)"
pattern = r"(.+test.*\.komreg\.net)|(.+\.test\.sveidas\.se)"
if re.match(pattern, fqdn):
environ = "test"