Merge pull request #34071 from FengtuWang/pause
Keep pause state when restoring container's status Upstream-commit: 4309075610dc3c8e68237d399423325b8dd9f242 Component: engine
This commit is contained in:
@@ -278,7 +278,9 @@ func (s *State) SetRunning(pid int, initial bool) {
|
||||
s.ErrorMsg = ""
|
||||
s.Running = true
|
||||
s.Restarting = false
|
||||
s.Paused = false
|
||||
if initial {
|
||||
s.Paused = false
|
||||
}
|
||||
s.ExitCodeValue = 0
|
||||
s.Pid = pid
|
||||
if initial {
|
||||
|
||||
Reference in New Issue
Block a user