Do not show command twice in e2e kubectl exec

This commit is contained in:
Dr. Stefan Schimanski 2016-05-23 14:39:34 +02:00
parent 8f104a7b0f
commit 9e95606cf5

View File

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