From 1b401664d1eec20b0982fc33a0eecc64eb59fa35 Mon Sep 17 00:00:00 2001 From: Wang Long Date: Wed, 30 Nov 2016 20:53:37 +0800 Subject: [PATCH] tiny refactor Signed-off-by: Wang Long --- libcontainer/console.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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