From 0288a6de9ac48a39b35971f7cfeb83982717c3f7 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Sat, 22 Nov 2025 14:21:02 +0200 Subject: [PATCH] refactor: use constant for sleep delay Signed-off-by: Oleksandr Redko --- pkg/hostagent/requirements.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostagent/requirements.go b/pkg/hostagent/requirements.go index 2873cebd786..b0d796e195c 100644 --- a/pkg/hostagent/requirements.go +++ b/pkg/hostagent/requirements.go @@ -42,7 +42,7 @@ func (a *HostAgent) waitForRequirements(label string, requirements []requirement errs = append(errs, fmt.Errorf("failed to satisfy the %s requirement %d of %d %q: %s: %w", label, i+1, len(requirements), req.description, req.debugHint, err)) break retryLoop } - time.Sleep(10 * time.Second) + time.Sleep(sleepDuration) } } return errors.Join(errs...)