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

Commit 23ee230

Browse files
Merge pull request #19 from notti/master
Changed polling to WaitContainer
2 parents 74b59c9 + a4a8397 commit 23ee230

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)