fix nil err

pull/4946/head
Medya Gh 2019-07-31 12:10:12 -07:00
parent 43751a4f4a
commit 9170ee9c42
1 changed files with 1 additions and 1 deletions

View File

@ -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