github.com/akerouanton/docker@v1.11.0-rc3/daemon/monitor_linux.go (about) 1 package daemon 2 3 import ( 4 "github.com/docker/docker/container" 5 "github.com/docker/docker/libcontainerd" 6 ) 7 8 // platformConstructExitStatus returns a platform specific exit status structure 9 func platformConstructExitStatus(e libcontainerd.StateInfo) *container.ExitStatus { 10 return &container.ExitStatus{ 11 ExitCode: int(e.ExitCode), 12 OOMKilled: e.OOMKilled, 13 } 14 }