From 9170ee9c425d1e11a29f9c77e853c864b4f0485e Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 31 Jul 2019 12:10:12 -0700 Subject: [PATCH] fix nil err --- test/integration/util/minikube_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/util/minikube_runner.go b/test/integration/util/minikube_runner.go index 5def6e1d11..51163ce7f4 100644 --- a/test/integration/util/minikube_runner.go +++ b/test/integration/util/minikube_runner.go @@ -239,7 +239,7 @@ func (m *MinikubeRunner) Start(opts ...string) (stdout string, stderr string, er cmd := fmt.Sprintf("start %s %s %s", m.StartArgs, m.GlobalArgs, strings.Join(opts, " ")) s := func() error { stdout, stderr, err = m.RunCommandRetriable(cmd) - return nil + return err } err = RetryX(s, m.TimeOutStart) return stdout, stderr, err