github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/container/state_windows.go (about) 1 package container 2 3 // setFromExitStatus is a platform specific helper function to set the state 4 // based on the ExitStatus structure. 5 func (s *State) setFromExitStatus(exitStatus *ExitStatus) { 6 s.ExitCodeValue = exitStatus.ExitCode 7 }