mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #47003 from LarsSven/fix-container-start-time
Move StartedAt time to before starting the container
This commit is contained in:
@@ -254,7 +254,7 @@ func (daemon *Daemon) ProcessEvent(id string, e libcontainerdtypes.EventType, ei
|
||||
}
|
||||
return err
|
||||
}
|
||||
c.SetRunning(ctr, tsk, false)
|
||||
c.SetRunningExternal(ctr, tsk)
|
||||
c.HasBeenManuallyStopped = false
|
||||
c.HasBeenStartedBefore = true
|
||||
daemon.setStateCounter(c)
|
||||
|
||||
Reference in New Issue
Block a user