Implement proper shutdown logic

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2015-12-04 13:31:17 -08:00
parent a10aa91051
commit c10b3cde9f
6 changed files with 67 additions and 20 deletions

View File

@@ -55,6 +55,7 @@ func (w *worker) Start() {
continue
}
}
w.s.containerGroup.Add(1)
ContainerStartTimer.UpdateSince(started)
t.Err <- nil
}