Add better logging

pull/5150/head
Medya Gh 2019-08-20 16:23:14 -07:00
parent e325516ab1
commit 441f999e1d
1 changed files with 5 additions and 5 deletions

View File

@ -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...)
}