mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 20:41:40 +02:00
Fix subcluster assigment with wildcard
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user