summaryrefslogtreecommitdiff
path: root/plugin/executor
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@docker.com>2017-12-07 14:26:27 -0500
committerDaniel Nephin <dnephin@docker.com>2018-01-09 12:00:28 -0500
commit3fec7c0858a0a3dee5423e6bffc3a3a1b238c30f (patch)
tree285c5d07fe722472b4c403eccbd201b6a7501dc0 /plugin/executor
parent4f5c47aae4105840a16047b7bca424319a7db709 (diff)
downloaddocker-3fec7c0858a0a3dee5423e6bffc3a3a1b238c30f.tar.gz
Remove libcontainerd.IOPipe
replaced with cio.DirectIO Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'plugin/executor')
-rw-r--r--plugin/executor/containerd/containerd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/executor/containerd/containerd.go b/plugin/executor/containerd/containerd.go
index 5343b858e0..38dcfcd58c 100644
--- a/plugin/executor/containerd/containerd.go
+++ b/plugin/executor/containerd/containerd.go
@@ -122,7 +122,7 @@ func (c *rio) Wait() {
}
func attachStreamsFunc(stdout, stderr io.WriteCloser) libcontainerd.StdioCallback {
- return func(iop *libcontainerd.IOPipe) (cio.IO, error) {
+ return func(iop *cio.DirectIO) (cio.IO, error) {
if iop.Stdin != nil {
iop.Stdin.Close()
// closing stdin shouldn't be needed here, it should never be open