Skip to content
Snippets Groups Projects
Commit a4a83971 authored by Gernot Vormayr's avatar Gernot Vormayr
Browse files

Changed polling to wait

parent 74b59c9c
No related branches found
No related tags found
No related merge requests found
...@@ -498,7 +498,7 @@ func keepAlive(c *Context) error { ...@@ -498,7 +498,7 @@ func keepAlive(c *Context) error {
} }
if container.State.Running { if container.State.Running {
time.Sleep(INTERVAL * time.Millisecond) client.WaitContainer(c.Id)
} else { } else {
return nil return nil
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment