From 37db0220452a837791af84d044b0b308260dccec Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Mon, 28 Nov 2016 20:31:59 -0500 Subject: [PATCH] Change Error log to Warning when close stdin fail Signed-off-by: Lei Jitang --- container/stream/streams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/stream/streams.go b/container/stream/streams.go index a45e31f211..79f366afda 100644 --- a/container/stream/streams.go +++ b/container/stream/streams.go @@ -135,7 +135,7 @@ func (c *Config) CopyToPipe(iop libcontainerd.IOPipe) { go func() { pools.Copy(iop.Stdin, stdin) if err := iop.Stdin.Close(); err != nil { - logrus.Errorf("failed to close stdin: %+v", err) + logrus.Warnf("failed to close stdin: %+v", err) } }() }