Those are needed in order to reload their value upon docker daemon restart. Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Upstream-commit: 2998945a54577e24a6414d576bc861e58fa87359 Component: engine
11 lines
296 B
Go
11 lines
296 B
Go
// +build linux freebsd
|
|
|
|
package container
|
|
|
|
// setFromExitStatus is a platform specific helper function to set the state
|
|
// based on the ExitStatus structure.
|
|
func (s *State) setFromExitStatus(exitStatus *ExitStatus) {
|
|
s.ExitCodeValue = exitStatus.ExitCode
|
|
s.OOMKilled = exitStatus.OOMKilled
|
|
}
|