diff --git a/libcontainer/console.go b/libcontainer/console.go index 042a2a2e4..b25e1eb44 100644 --- a/libcontainer/console.go +++ b/libcontainer/console.go @@ -4,8 +4,7 @@ import "io" // Console represents a pseudo TTY. type Console interface { - io.ReadWriter - io.Closer + io.ReadWriteCloser // Path returns the filesystem path to the slave side of the pty. Path() string