Those are needed in order to reload their value upon docker daemon restart. Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Upstream-commit: 2998945a54577e24a6414d576bc861e58fa87359 Component: engine
8 lines
235 B
Go
8 lines
235 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.ExitCodeValue = exitStatus.ExitCode
|
|
}
|