diff --git a/test/e2e/storage/testsuites/stress.go b/test/e2e/storage/testsuites/stress.go index 3aa45bee479..d4993c2acd3 100644 --- a/test/e2e/storage/testsuites/stress.go +++ b/test/e2e/storage/testsuites/stress.go @@ -181,7 +181,7 @@ func (t *stressTestSuite) DefineTests(driver TestDriver, pattern testpatterns.Te default: pod := l.pods[podIndex] framework.Logf("Pod %v, Iteration %v/%v", podIndex, j, l.testOptions.NumRestarts-1) - _, err = cs.CoreV1().Pods(pod.Namespace).Create(context.TODO(), pod, metav1.CreateOptions{}) + _, err := cs.CoreV1().Pods(pod.Namespace).Create(context.TODO(), pod, metav1.CreateOptions{}) framework.ExpectNoError(err) err = e2epod.WaitForPodRunningInNamespace(cs, pod)