mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #127779 from soltysh/update_test_command
Print tested command only once
This commit is contained in:
commit
af879aebb1
@ -585,7 +585,9 @@ func StartCmdAndStreamOutput(cmd *exec.Cmd) (stdout, stderr io.ReadCloser, err e
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
Logf("Asynchronously running '%s %s'", cmd.Path, strings.Join(cmd.Args, " "))
|
||||
// cmd.Args contains command itself as 0th argument, so it's sufficient to
|
||||
// print 1st and latter arguments
|
||||
Logf("Asynchronously running '%s %s'", cmd.Path, strings.Join(cmd.Args[1:], " "))
|
||||
err = cmd.Start()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user