mirror of
https://github.com/docker/cli.git
synced 2026-10-13 17:35:17 -04:00
Make sure that the cursor value returned by followJournal() is the last of the values returned by its goroutine's calls to drainJournal() by waiting for it, rather than returning a value that may be superceded by another if we're singalling the goroutine that it should exit by closing a pipe. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Upstream-commit: d57c330617efb97cad736a3e4ede82bb46ebbbf2 Component: engine