This commit is contained in:
Guillaume J. Charmes
2013-06-10 11:08:40 -07:00
parent 63e80384ea
commit 7169212683
+1 -1
View File
@@ -399,7 +399,7 @@ func (container *Container) Attach(stdin io.ReadCloser, stdinCloser io.Closer, s
defer stdinCloser.Close()
}
if cStderr, err := container.StdoutPipe(); err != nil {
if cStderr, err := container.StderrPipe(); err != nil {
utils.Debugf("Error stdout pipe")
} else {
io.Copy(&utils.NopWriter{}, cStderr)