Add better logging
parent
e325516ab1
commit
441f999e1d
|
@ -133,7 +133,7 @@ func (m *MinikubeRunner) RunCommandRetriable(cmdStr string, waitForRun ...bool)
|
|||
path, _ := filepath.Abs(m.BinaryPath)
|
||||
|
||||
cmd := exec.Command(path, cmdArgs...)
|
||||
Logf("Run: %s", cmd.Args)
|
||||
Logf("RunCommandRetriable: %s", cmd.Args)
|
||||
stdout, stderr, err = m.teeRun(cmd, waitForRun...)
|
||||
if err != nil {
|
||||
if exitError, ok := err.(*exec.ExitError); ok {
|
||||
|
@ -153,7 +153,7 @@ func (m *MinikubeRunner) RunWithContext(ctx context.Context, cmdStr string, wait
|
|||
path, _ := filepath.Abs(m.BinaryPath)
|
||||
|
||||
cmd := exec.CommandContext(ctx, path, cmdArgs...)
|
||||
Logf("Run: %s", cmd.Args)
|
||||
Logf("RunWithContext: %s", cmd.Args)
|
||||
return m.teeRun(cmd, wait...)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue