From 7bbf40f1cc0f694fbe59323f7c0a8cd180878976 Mon Sep 17 00:00:00 2001 From: Elana Hashman Date: Mon, 4 Oct 2021 13:44:15 -0700 Subject: [PATCH] Add missing format values to test logline --- test/e2e/node/pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node/pods.go b/test/e2e/node/pods.go index 864a1248468..675dfbf3456 100644 --- a/test/e2e/node/pods.go +++ b/test/e2e/node/pods.go @@ -384,7 +384,7 @@ var _ = SIGDescribe("Pods Extended", func() { framework.Logf("pod %s on node %s failed with the symptoms of https://github.com/kubernetes/kubernetes/issues/88766", pod.Name, pod.Spec.NodeName) default: data, _ := json.MarshalIndent(pod.Status, "", " ") - framework.Logf("pod %s on node %s had incorrect final status:\n%s", string(data)) + framework.Logf("pod %s on node %s had incorrect final status:\n%s", pod.Name, pod.Spec.NodeName, string(data)) return fmt.Errorf("pod %s on node %s container unexpected exit code %d: start=%s end=%s reason=%s message=%s", pod.Name, pod.Spec.NodeName, t.ExitCode, t.StartedAt, t.FinishedAt, t.Reason, t.Message) } switch {