This commit is contained in:
Bradley Cicenas
2017-11-28 13:40:43 +00:00
parent fb5c825cf6
commit 28389aa38c
2 changed files with 8 additions and 7 deletions

View File

@@ -177,9 +177,9 @@ func logReader(container *container.Container) (logs chan string, quit chan bool
go func() {
for {
select {
case log := <- stream:
case log := <-stream:
logs <- log.Message
case <- quit:
case <-quit:
logCollector.Stop()
close(logs)
return