mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -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> Upstream-commit: 9c4570a958df42d1ad19364b1a8da55b891d850a 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
|
|
}
|