Files
virtual-kubelet/vendor/github.com/hyperhq/hypercli/container/state_windows.go
2017-12-05 17:53:58 -06:00

10 lines
294 B
Go

package container
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
}