зеркало из https://github.com/microsoft/docker.git
11 строки
291 B
Go
11 строки
291 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.exitCode = exitStatus.ExitCode
|
|
s.OOMKilled = exitStatus.OOMKilled
|
|
}
|