mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
94d70d8355
Signed-off-by: John Howard <jhoward@microsoft.com> Signed-off-by: John Starks <jostarks@microsoft.com> Signed-off-by: Darren Stahl <darst@microsoft.com> Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
7 lines
230 B
Go
7 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
|
|
}
|