matching from fqdn
This commit is contained in:
parent
b01f268bce
commit
62047f2d93
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ else:
|
||||||
environ = "prod"
|
environ = "prod"
|
||||||
pattern = r"(.+test.+\.komreg\.net)|(.+\.test\.sveidas\.se)"
|
pattern = r"(.+test.+\.komreg\.net)|(.+\.test\.sveidas\.se)"
|
||||||
|
|
||||||
if re.match(pattern, domainname):
|
if re.match(pattern, fqdn):
|
||||||
environ = "test"
|
environ = "test"
|
||||||
|
|
||||||
host_info = {
|
host_info = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue