e2e: correct log format in execCommandInPod()

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2019-08-30 14:53:48 +02:00 committed by mergify[bot]
parent 8f133e03b8
commit d03a352abf

View File

@ -150,7 +150,7 @@ func execCommandInPod(f *framework.Framework, c, ns string, opt *metav1.ListOpti
} }
stdOut, stdErr, err := f.ExecWithOptions(podPot) stdOut, stdErr, err := f.ExecWithOptions(podPot)
if stdErr != "" { if stdErr != "" {
e2elog.Logf("stdErr occurred ", stdErr) e2elog.Logf("stdErr occurred: %v", stdErr)
} }
Expect(err).Should(BeNil()) Expect(err).Should(BeNil())
return stdOut, stdErr return stdOut, stdErr