From 018ae8ad3d06b9a0b9bccf3b224f5d3637d9d14e Mon Sep 17 00:00:00 2001 From: Mathieu Fenniak Date: Tue, 5 Aug 2025 19:02:59 -0600 Subject: [PATCH] remove unused variable i --- act/runner/run_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index b4c5866a..57c61ad6 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -762,7 +762,7 @@ func (rc *RunContext) waitForServiceContainer(c container.ExecutionsEnvironment) defer cancel() delay := time.Second - for i := 0; ; i++ { + for { health, err := c.GetHealth(ctx) if errors.Is(err, context.DeadlineExceeded) { return fmt.Errorf("service container %s: timed out while waiting for healthy or unhealthy status to be reported", c.GetName())