github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/container/state_unix.go (about) 1 // +build linux freebsd 2 3 package container 4 5 // setFromExitStatus is a platform specific helper function to set the state 6 // based on the ExitStatus structure. 7 func (s *State) setFromExitStatus(exitStatus *ExitStatus) { 8 s.ExitCodeValue = exitStatus.ExitCode 9 s.OOMKilled = exitStatus.OOMKilled 10 }