Merge pull request #623 from daMupfel/master
Fixes #448 missing live console output bug on rebuild
This commit is contained in:
commit
c364b9c13f
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ func (d *Docker) Do(c context.Context, r *worker.Work) {
|
||||||
commitc := pubsub.Register(c, "_global")
|
commitc := pubsub.Register(c, "_global")
|
||||||
commitc.Publish(r)
|
commitc.Publish(r)
|
||||||
stdoutc := pubsub.RegisterOpts(c, r.Commit.ID, pubsub.ConsoleOpts)
|
stdoutc := pubsub.RegisterOpts(c, r.Commit.ID, pubsub.ConsoleOpts)
|
||||||
defer stdoutc.Close()
|
defer pubsub.Unregister(c, r.Commit.ID)
|
||||||
|
|
||||||
// create a special buffer that will also
|
// create a special buffer that will also
|
||||||
// write to a websocket channel
|
// write to a websocket channel
|
||||||
|
|
Loading…
Reference in a new issue