mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use Set for stderr "logs" job in builder
Because engine implicitly adds his stder to job stderr Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
parent
fa7e01794f
commit
a62cbdeb47
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ func (b *Builder) run(c *daemon.Container) error {
|
|||
logsJob.Setenv("stdout", "1")
|
||||
logsJob.Setenv("stderr", "1")
|
||||
logsJob.Stdout.Add(b.OutStream)
|
||||
logsJob.Stderr.Add(b.ErrStream)
|
||||
logsJob.Stderr.Set(b.ErrStream)
|
||||
if err := logsJob.Run(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue