diff --git a/test/e2e/ipamhelper_test.go b/test/e2e/ipamhelper_test.go index 99bf94fd20..721d1f613b 100644 --- a/test/e2e/ipamhelper_test.go +++ b/test/e2e/ipamhelper_test.go @@ -57,7 +57,7 @@ func configureControlPlaneIPs(clusterctlConfigPath string, additionalIPVariableN for _, variable := range append(additionalIPVariableNames, controlPlaneEndpointVariable) { ip := ipamService.claimIPAddress() Byf("Setting clusterctl variable %s to %s", variable, ip) - variables[variable] = ipamService.claimIPAddress() + variables[variable] = ip } modifiedClusterctlConfigPath := fmt.Sprintf("%s-%s.yaml", strings.TrimSuffix(clusterctlConfigPath, ".yaml"), rand.String(10))