Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit a4a8397

Browse files
committed
Changed polling to wait
1 parent 74b59c9 commit a4a8397

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ func keepAlive(c *Context) error {
498498
}
499499

500500
if container.State.Running {
501-
time.Sleep(INTERVAL * time.Millisecond)
501+
client.WaitContainer(c.Id)
502502
} else {
503503
return nil
504504
}

0 commit comments

Comments
 (0)