diff --git a/pkg/minikube/download/preload.go b/pkg/minikube/download/preload.go index daab6ef333..2d9a0a9133 100644 --- a/pkg/minikube/download/preload.go +++ b/pkg/minikube/download/preload.go @@ -85,6 +85,7 @@ func PreloadExists(k8sVersion, containerRuntime string, forcePreload ...bool) bo return false } + // TODO (#8166): Get rid of the need for this and viper at all force := false if len(forcePreload) > 0 { force = forcePreload[0] diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 016c92a75a..60b3011377 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -328,7 +328,7 @@ func validateStatusCmd(ctx context.Context, t *testing.T, profile string) { // Custom format rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status", "-f", "host:{{.Host}},kublet:{{.Kubelet}},apiserver:{{.APIServer}},kubeconfig:{{.Kubeconfig}}")) if err != nil { - t.Errorf("failed to run minikube status with custom format: args %q: %v", rr.Command(te), err) + t.Errorf("failed to run minikube status with custom format: args %q: %v", rr.Command(), err) } re := `host:([A-z]+),kublet:([A-z]+),apiserver:([A-z]+),kubeconfig:([A-z]+)` match, _ := regexp.MatchString(re, rr.Stdout.String())