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:
parent
b46c03d75a
commit
018ae8ad3d
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue