mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Fix subcluster assigment with wildcard
This commit is contained in:
parent
3ce8344275
commit
58f589e019
@ -136,7 +136,7 @@ func AssignSubCluster(job *schema.BaseJob) error {
|
||||
}
|
||||
}
|
||||
|
||||
if cluster.SubClusters[0].Nodes == "" {
|
||||
if cluster.SubClusters[0].Nodes == "*" {
|
||||
job.SubCluster = cluster.SubClusters[0].Name
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user