Make sure container is not marked as ghost when it starts
Upstream-commit: 91520838fc72f4004d65844b8e57df85473808a1 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