reg/vendor/github.com/docker/docker-ce/components/engine/container/state_solaris.go

8 lines
235 B
Go
Raw Normal View History

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
}