1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-31 18:30:58 +00:00

remove unused variable i

This commit is contained in:
Mathieu Fenniak 2025-08-05 19:02:59 -06:00
parent b46c03d75a
commit 018ae8ad3d

View file

@ -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())