Merge pull request #1173 from dotcloud/1172-ghost_restart-fix
Make sure container is not marked as ghost when it starts Upstream-commit: 7d8ef90ccbbe5e945b8a13bfcbea7838c138f61b Component: engine
This commit is contained in:
@@ -29,6 +29,7 @@ func (s *State) String() string {
|
||||
|
||||
func (s *State) setRunning(pid int) {
|
||||
s.Running = true
|
||||
s.Ghost = false
|
||||
s.ExitCode = 0
|
||||
s.Pid = pid
|
||||
s.StartedAt = time.Now()
|
||||
|
||||
Reference in New Issue
Block a user