updated pattern for setup_cosmos_modules
This commit is contained in:
parent
8d7eeddfb1
commit
57d7988a2e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ except OSError:
|
||||||
else:
|
else:
|
||||||
domainname = '.'.join(fqdn.split(".")[1:])
|
domainname = '.'.join(fqdn.split(".")[1:])
|
||||||
environ = "prod"
|
environ = "prod"
|
||||||
pattern = r"(.+test.+\.komreg\.net)|(.+\.test\.sveidas\.se)"
|
pattern = r"(.+test.*\.komreg\.net)|(.+\.test\.sveidas\.se)"
|
||||||
|
|
||||||
if re.match(pattern, fqdn):
|
if re.match(pattern, fqdn):
|
||||||
environ = "test"
|
environ = "test"
|
||||||
|
|
Loading…
Add table
Reference in a new issue