Add basic fifo support for IO copy

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2015-12-14 14:15:26 -08:00
parent e480aedaea
commit e9f63fc9a4
14 changed files with 141 additions and 191 deletions

View File

@@ -46,7 +46,7 @@ func (h *ExecExitEvent) Handle(e *Event) error {
if err := info.container.RemoveProcess(e.Pid); err != nil {
logrus.WithField("error", err).Error("containerd: find container for pid")
}
if err := info.logger.Close(); err != nil {
if err := info.copier.Close(); err != nil {
logrus.WithField("error", err).Error("containerd: close process IO")
}
delete(h.s.processes, e.Pid)