Signed-off-by: Amit Krishnan <krish.amit@gmail.com> Upstream-commit: 86d8758e2bb5e9d21d454ceda90b33feb8e74771 Component: engine
8 lines
230 B
Go
8 lines
230 B
Go
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
|
|
}
|