зеркало из https://github.com/microsoft/docker.git
10 строки
291 B
Go
10 строки
291 B
Go
package daemon
|
|
|
|
import "github.com/docker/docker/daemon/execdriver"
|
|
|
|
// setFromExitStatus is a platform specific helper function to set the state
|
|
// based on the ExitStatus structure.
|
|
func (s *State) setFromExitStatus(exitStatus *execdriver.ExitStatus) {
|
|
s.ExitCode = exitStatus.ExitCode
|
|
}
|