diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index fb6eebee764fdbc933af7a3cb747df3df026b5b6..79e1e51fa7589d2af1dcfe7daabfe5d21d8800ca 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -173,7 +173,7 @@ func validateKubectlGetPods(ctx context.Context, t *testing.T, profile string) { // validateMinikubeKubectl validates that the `minikube kubectl` command returns content func validateMinikubeKubectl(ctx context.Context, t *testing.T, profile string) { kubectlArgs := []string{"kubectl", "--", "get", "pods"} - rr, err = Run(t, exec.CommandContext(ctx, Target(), kubectlArgs...)) + rr, err := Run(t, exec.CommandContext(ctx, Target(), kubectlArgs...)) if err != nil { t.Fatalf("%s failed: %v", rr.Args, err) }