Skip to content

Commit fe3f4ad

Browse files
chrischdik8s-infra-cherrypick-robot
authored andcommitted
e2e: fix self-hosted to actually read DOCKER_PRELOAD_IMAGES from the e2e config
1 parent 6a7d20b commit fe3f4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/self_hosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
161161
// controller images into the nodes.
162162
if hasDockerInfrastructureProvider {
163163
images := []string{}
164-
if preloadList := strings.TrimSuffix(strings.TrimPrefix(clusterctlVariables["DOCKER_PRELOAD_IMAGES"], "["), "]"); preloadList != "" {
164+
if preloadList := strings.TrimSuffix(strings.TrimPrefix(input.E2EConfig.GetVariableOrEmpty("DOCKER_PRELOAD_IMAGES"), "["), "]"); preloadList != "" {
165165
images = strings.Split(preloadList, ",")
166166
}
167167
for _, image := range input.E2EConfig.Images {

0 commit comments

Comments
 (0)