From f68fe8c5c5fd50fa93c6a5d87eb5d154ac01bd01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=8C=A6=E5=8D=97=E8=B7=AF=E4=B9=8B=E8=8A=B1?= <46831212+ComradeProgrammer@users.noreply.github.com> Date: Sun, 30 Jun 2024 15:21:24 +0200 Subject: [PATCH] Update pkg/minikube/node/start.go Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- pkg/minikube/node/start.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/minikube/node/start.go b/pkg/minikube/node/start.go index a7c9f080ddfc..42db6b6131ad 100755 --- a/pkg/minikube/node/start.go +++ b/pkg/minikube/node/start.go @@ -856,7 +856,8 @@ func tryRegistry(r command.Runner, driverName, imageRepository, ip string) { imageRepository = images.DefaultKubernetesRepo } - opts = append(opts, fmt.Sprintf("https://%s/", imageRepository)) + curlTarget := fmt.Sprintf("https://%s/", imageRepository) + opts = append(opts, curlTarget) exe := "curl" if runtime.GOOS == "windows" { exe = "curl.exe"