19 lines
550 B
Go
19 lines
550 B
Go
|
package daemon
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/docker/container"
|
||
|
"github.com/docker/docker/libcontainerd"
|
||
|
)
|
||
|
|
||
|
// platformConstructExitStatus returns a platform specific exit status structure
|
||
|
func platformConstructExitStatus(e libcontainerd.StateInfo) *container.ExitStatus {
|
||
|
return &container.ExitStatus{
|
||
|
ExitCode: int(e.ExitCode),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// postRunProcessing perfoms any processing needed on the container after it has stopped.
|
||
|
func (daemon *Daemon) postRunProcessing(container *container.Container, e libcontainerd.StateInfo) error {
|
||
|
return nil
|
||
|
}
|