Skip to content

Commit c165096

Browse files
authored
Merge pull request #11727 from mboersma/replace-dead-template
🐛 Default to topology flavor in NodeDrainTimeoutSpec
2 parents 2096276 + d2ffc31 commit c165096

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/node_drain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type NodeDrainTimeoutSpecInput struct {
5858

5959
// Flavor, if specified, must refer to a template that uses a Cluster with ClusterClass.
6060
// The cluster must use a KubeadmControlPlane and a MachineDeployment.
61-
// If not specified, "node-drain" is used.
61+
// If not specified, "topology" is used.
6262
Flavor *string
6363

6464
// Allows to inject a function to be run after test namespace is created.
@@ -138,7 +138,7 @@ func NodeDrainTimeoutSpec(ctx context.Context, inputGetter func() NodeDrainTimeo
138138
ClusterctlConfigPath: input.ClusterctlConfigPath,
139139
KubeconfigPath: input.BootstrapClusterProxy.GetKubeconfigPath(),
140140
InfrastructureProvider: infrastructureProvider,
141-
Flavor: ptr.Deref(input.Flavor, "node-drain"),
141+
Flavor: ptr.Deref(input.Flavor, "topology"),
142142
Namespace: namespace.Name,
143143
ClusterName: clusterName,
144144
KubernetesVersion: input.E2EConfig.GetVariable(KubernetesVersion),

0 commit comments

Comments
 (0)