2016-03-25 23:38:00 +00:00
|
|
|
package container
|
|
|
|
|
|
|
|
// setFromExitStatus is a platform specific helper function to set the state
|
|
|
|
// based on the ExitStatus structure.
|
|
|
|
func (s *State) setFromExitStatus(exitStatus *ExitStatus) {
|
2016-08-30 16:44:06 +00:00
|
|
|
s.ExitCodeValue = exitStatus.ExitCode
|
2016-03-25 23:38:00 +00:00
|
|
|
}
|