fix wrong output in e2e log

This commit is contained in:
stewart-yu 2018-07-28 14:39:12 +08:00
parent 0c1f933693
commit 736694e6ad

View File

@ -1395,7 +1395,7 @@ func createFileDoesntExistCmd(testFileDir string, testFile string) string {
// Fail on error
func podRWCmdExec(pod *v1.Pod, cmd string) string {
out, err := utils.PodExec(pod, cmd)
framework.Logf("podRWCmdExec out: %q err: %q", out, err)
framework.Logf("podRWCmdExec out: %q err: %v", out, err)
Expect(err).NotTo(HaveOccurred())
return out
}