From 303b89fa07b3f104967b8acb12c76fddd7bb2692 Mon Sep 17 00:00:00 2001 From: geoffrey1330 Date: Tue, 19 Mar 2024 13:21:38 +0100 Subject: [PATCH] e2e for dynamic pv provisioning --- e2e/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/utils.go b/e2e/utils.go index 73aa305..f61a277 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -192,7 +192,7 @@ func rolloutControllerServer() { } } */ -func waitForControllerReady(c kubernetes.Interface, timeout time.Duration) error { //nolint:unparam //Keep timeout parameter, it may be used in the future +func waitForControllerReady(c kubernetes.Interface, timeout time.Duration) error { err := wait.PollImmediate(3*time.Second, timeout, func() (bool, error) { sts, err := c.AppsV1().StatefulSets(nameSpace).Get(ctx, controllerStsName, metav1.GetOptions{}) if err != nil {