Skip to content

Commit 08b15d9

Browse files
authored
Merge pull request #12907 from chrischdi/pr-e2e-self-hosted-fix-preload
🌱 e2e: fix self-hosted to actually read DOCKER_PRELOAD_IMAGES from the e2e config
2 parents f068d1c + 3cf463a commit 08b15d9

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)