Skip to content

Commit

Permalink
fix validating non-build clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
Despire committed Nov 6, 2024
1 parent 8d83e28 commit 24fa073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/testing-framework/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func getAutoscaledClusters(c *spec.Config) []*spec.K8Scluster {

func validateKubeconfigAlternativeNames(clusters map[string]*spec.ClusterState) error {
for c, v := range clusters {
if v.Current == nil {
if v.Current == nil || v.Current.K8S.Kubeconfig == "" {
continue
}
// if the clusters has no APIServer Loadbalancer we can test all
Expand Down

0 comments on commit 24fa073

Please sign in to comment.