1
0
mirror of https://github.com/ClusterCockpit/cc-backend synced 2025-07-29 07:36:08 +02:00

Fix subcluster assigment with wildcard

This commit is contained in:
Jan Eitzinger
2023-03-24 15:56:27 +01:00
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
}