copr-builder: s390x: better matching prod/dev instances
Seems we have sometimes "-", sometimes "_", depending in which situation the subscription-manager process fails :-(.
This commit is contained in:
parent
47e95419ec
commit
cf6957dcc3
1 changed files with 2 additions and 2 deletions
|
@ -89,9 +89,9 @@ def filter_out_systems(systems):
|
|||
copr_instance = _copr_instance()
|
||||
for system in systems:
|
||||
system_instance = "unknown"
|
||||
if "-prod-" in system["name"]:
|
||||
if "prod" in system["name"]:
|
||||
system_instance = "production"
|
||||
elif "-dev-" in system["name"]:
|
||||
elif "dev" in system["name"]:
|
||||
system_instance = "devel"
|
||||
|
||||
if system_instance != copr_instance:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue