1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Engine: don't log job stdout to engine stdout (it might be non-text output, for example tar data for 'export'

This commit is contained in:
Solomon Hykes 2013-12-08 01:33:05 +00:00
parent f4676f0ffa
commit 50f3a696bd

View file

@ -112,7 +112,6 @@ func (eng *Engine) Job(name string, args ...string) *Job {
Stdout: NewOutput(), Stdout: NewOutput(),
Stderr: NewOutput(), Stderr: NewOutput(),
} }
job.Stdout.Add(utils.NopWriteCloser(eng.Stdout))
job.Stderr.Add(utils.NopWriteCloser(eng.Stderr)) job.Stderr.Add(utils.NopWriteCloser(eng.Stderr))
handler, exists := eng.handlers[name] handler, exists := eng.handlers[name]
if exists { if exists {