summaryrefslogtreecommitdiff
path: root/libpod/events/logfile.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-26 10:12:09 -0400
committerGitHub <noreply@github.com>2021-08-26 10:12:09 -0400
commit54e0afffe7dd8e5ab7daa75de2f06331cd78dd48 (patch)
tree9eda4d0f39327c2e777aa1faa600968c7963ab9e /libpod/events/logfile.go
parentcb235592702550c94bdc526a033ca2cebecb7337 (diff)
parentd06d285e66251784126b4f19e047c2a93182d08e (diff)
downloadpodman-54e0afffe7dd8e5ab7daa75de2f06331cd78dd48.tar.gz
podman-54e0afffe7dd8e5ab7daa75de2f06331cd78dd48.tar.bz2
podman-54e0afffe7dd8e5ab7daa75de2f06331cd78dd48.zip
Merge pull request #11218 from cdoern/untilBug
logFile until flag issue, negative duration replaced with positive
Diffstat (limited to 'libpod/events/logfile.go')
-rw-r--r--libpod/events/logfile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/events/logfile.go b/libpod/events/logfile.go
index 952444f2b..e3f0ab8f0 100644
--- a/libpod/events/logfile.go
+++ b/libpod/events/logfile.go
@@ -53,7 +53,7 @@ func (e EventLogFile) Read(ctx context.Context, options ReadOptions) error {
return err
}
if len(options.Until) > 0 {
- untilTime, err := util.ParseInputTime(options.Until)
+ untilTime, err := util.ParseInputTime(options.Until, false)
if err != nil {
return err
}