From 58f589e019c12fb82b673617daa673945aabd258 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 24 Mar 2023 15:56:27 +0100 Subject: [PATCH] Fix subcluster assigment with wildcard --- pkg/archive/clusterConfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/archive/clusterConfig.go b/pkg/archive/clusterConfig.go index cb0b502..d14a5ae 100644 --- a/pkg/archive/clusterConfig.go +++ b/pkg/archive/clusterConfig.go @@ -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 }