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:
parent
f4676f0ffa
commit
50f3a696bd
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue