Merge pull request #25482 from yuexiao-wang/close_pipe
Close pipe after using pipe
This commit is contained in:
commit
90be7a591d
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ func (s *DockerSuite) TestAttachMultipleAndRestart(c *check.C) {
|
|||
if err != nil {
|
||||
c.Fatal(err)
|
||||
}
|
||||
defer out.Close()
|
||||
|
||||
if err := cmd.Start(); err != nil {
|
||||
c.Fatal(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue