Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Upstream-commit: dcfe99278db113e79dc037a6f854f4cea9eebe22 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
|
|
}
|