mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Do not show command twice in e2e kubectl exec
This commit is contained in:
parent
8f104a7b0f
commit
9e95606cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ func kubectlExec(namespace string, podName, containerName string, args ...string
|
|||
cmd := KubectlCmd(cmdArgs...)
|
||||
cmd.Stdout, cmd.Stderr = &stdout, &stderr
|
||||
|
||||
Logf("Running '%s %s'", cmd.Path, strings.Join(cmd.Args, " "))
|
||||
Logf("Running '%s %s'", cmd.Path, strings.Join(cmdArgs, " "))
|
||||
err := cmd.Run()
|
||||
return stdout.Bytes(), stderr.Bytes(), err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue