summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-19 11:15:33 -0400
committerGitHub <noreply@github.com>2020-06-19 11:15:33 -0400
commit1a2eb3e615fa05d77359295b870d7b3a0e4a5ed3 (patch)
tree43ccea1f8f5b135e72618075fef3c428f1800c35 /libpod
parent33a60276135b7d74f3a10b39d8d69c836a05766e (diff)
parentf46664546a352cde38ecff6d647932561ba27b67 (diff)
downloadpodman-1a2eb3e615fa05d77359295b870d7b3a0e4a5ed3.tar.gz
podman-1a2eb3e615fa05d77359295b870d7b3a0e4a5ed3.tar.bz2
podman-1a2eb3e615fa05d77359295b870d7b3a0e4a5ed3.zip
Merge pull request #6677 from baude/pollOnEvents
Poll on events for file reading
Diffstat (limited to 'libpod')
-rw-r--r--libpod/events/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index 0d8c6b7d6..0253b1ee5 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -202,5 +202,5 @@ func (e EventLogFile) getTail(options ReadOptions) (*tail.Tail, error) {
if len(options.Until) > 0 {
stream = false
}
- return tail.TailFile(e.options.LogFilePath, tail.Config{ReOpen: reopen, Follow: stream, Location: &seek, Logger: tail.DiscardingLogger})
+ return tail.TailFile(e.options.LogFilePath, tail.Config{ReOpen: reopen, Follow: stream, Location: &seek, Logger: tail.DiscardingLogger, Poll: true})
}