diff --git a/test/e2e/pre_stop.go b/test/e2e/pre_stop.go index eee668d881..89b79a5d51 100644 --- a/test/e2e/pre_stop.go +++ b/test/e2e/pre_stop.go @@ -92,7 +92,7 @@ func testPreStop(c *client.Client, ns string) { }, } - By(fmt.Sprintf("Creating tester pod %s in namespace %s", podDescr.Name, ns)) + By(fmt.Sprintf("Creating tester pod %s in namespace %s", preStopDescr.Name, ns)) _, err = c.Pods(ns).Create(preStopDescr) expectNoError(err, fmt.Sprintf("creating pod %s", preStopDescr.Name)) deletePreStop := true