mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Change Error log to Warning when close stdin fail
Signed-off-by: Lei Jitang <leijitang@huawei.com>
(cherry picked from commit 37db022045
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
79f153f49e
commit
ee7d498364
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue