mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Signed-off-by: Anusha Ragunathan <anusha@docker.com>
10 lines
291 B
Go
10 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
|
|
}
|