mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fb2bb3653e
This commit addresses 2 issues: 1. in `tailfile()` if somehow the `logWatcher.Msg` were to become full and the watcher closed before space was made into it, we were getting stuck there forever since we were not checking for the watcher getting closed 2. when servicing `docker logs`, if the command was cancelled we were not closing the watcher (and hence notifying it to stop copying data) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> |
||
---|---|---|
.. | ||
jsonfilelog.go | ||
jsonfilelog_test.go | ||
read.go |