Skip to content

Commit de7456e

Browse files
simcodvknabel
authored andcommitted
Adapt to api changes
1 parent 87fc4e3 commit de7456e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/frmwrk/cluster_upgrade_kubernetes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func capi_e2e_ClusterUpgradeConformanceSpec(ctx context.Context, inputGetter fun
209209
WaitForMachinePools: input.E2EConfig.GetIntervals(specName, "wait-machine-pool-nodes"),
210210
}, clusterResources)
211211

212-
if clusterResources.Cluster.Spec.Topology != nil {
212+
if !clusterResources.Cluster.Spec.Topology.IsDefined() {
213213
// Cluster is using ClusterClass, upgrade via topology.
214214
By("Upgrading the Cluster topology")
215215
framework.UpgradeClusterTopologyAndWaitForUpgrade(ctx, framework.UpgradeClusterTopologyAndWaitForUpgradeInput{

0 commit comments

Comments
 (0)