Skip to content

Commit 852783a

Browse files
authored
e2e: use correct type for setting field (#4)
1 parent 235e322 commit 852783a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/suites/unmanaged/unmanaged_CAPI_clusterclass_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ var _ = ginkgo.Context("[unmanaged] [Cluster API Framework] [ClusterClass]", fun
117117
// ControlPlaneTemplate of the ClusterClass after the initial Cluster creation.
118118
// The test verifies that these fields are rolled out to the ControlPlane.
119119
ModifyControlPlaneFields: map[string]interface{}{
120-
"spec.machineTemplate.spec.deletion.nodeDrainTimeoutSeconds": "10s",
120+
"spec.machineTemplate.spec.deletion.nodeDrainTimeoutSeconds": ptr.To[int32](10),
121121
},
122122
// ModifyMachineDeploymentBootstrapConfigTemplateFields are the fields which will be set on the
123123
// BootstrapConfigTemplate of all MachineDeploymentClasses of the ClusterClass after the initial Cluster creation.

0 commit comments

Comments
 (0)