summaryrefslogtreecommitdiff
path: root/libpod/events/events.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-14 09:33:42 -0500
committerGitHub <noreply@github.com>2020-12-14 09:33:42 -0500
commit0fd31e29948631c264df21a128b3de2700f7f007 (patch)
treefa8fe500592a9f845761cec95b96e0cf397acdcf /libpod/events/events.go
parent803c078d3b844339c5fca0088ffcb759b6256b9b (diff)
parent74fcd9fef3a31fa94f3487361b5fda1180e8cee2 (diff)
downloadpodman-0fd31e29948631c264df21a128b3de2700f7f007.tar.gz
podman-0fd31e29948631c264df21a128b3de2700f7f007.tar.bz2
podman-0fd31e29948631c264df21a128b3de2700f7f007.zip
Merge pull request #8696 from Luap99/podman-events-until
podman events allow future time for --until
Diffstat (limited to 'libpod/events/events.go')
-rw-r--r--libpod/events/events.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index 4e7267af3..aa0401b62 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -216,8 +216,5 @@ func (e EventLogFile) getTail(options ReadOptions) (*tail.Tail, error) {
reopen = false
}
stream := options.Stream
- if len(options.Until) > 0 {
- stream = false
- }
return tail.TailFile(e.options.LogFilePath, tail.Config{ReOpen: reopen, Follow: stream, Location: &seek, Logger: tail.DiscardingLogger, Poll: true})
}