Fix subcluster assigment with wildcard

This commit is contained in:
Jan Eitzinger 2023-03-24 15:56:27 +01:00
parent 3ce8344275
commit 58f589e019

View File

@ -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
}