Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Upstream-commit: dcfe99278db113e79dc037a6f854f4cea9eebe22 Component: engine
11 lines
291 B
Go
11 lines
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
|
|
}
|