diff options
author | cdoern <cdoern@redhat.com> | 2021-08-09 10:07:46 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-08-30 13:34:56 -0400 |
commit | aa754c7e2193e6f82a8c14f482bc58a7a5b07550 (patch) | |
tree | f0c3c05fda3f98eb8e7e22c93dd685d077997b9c /pkg/util/utils_test.go | |
parent | f363b805c59ed4d25d89f08e3a099e5c7028eb2f (diff) | |
download | podman-aa754c7e2193e6f82a8c14f482bc58a7a5b07550.tar.gz podman-aa754c7e2193e6f82a8c14f482bc58a7a5b07550.tar.bz2 podman-aa754c7e2193e6f82a8c14f482bc58a7a5b07550.zip |
logFile until flag issue
we were adding a negative duration in podman events, causing inputs like
-5s to be correct and 5s to be incorrect.
fixes #11158
Signed-off-by: cdoern <cdoern@redhat.com>
Diffstat (limited to 'pkg/util/utils_test.go')
-rw-r--r-- | pkg/util/utils_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/utils_test.go b/pkg/util/utils_test.go index 027acbdab..35322c7ea 100644 --- a/pkg/util/utils_test.go +++ b/pkg/util/utils_test.go @@ -280,7 +280,7 @@ func TestPeriodAndQuotaToCores(t *testing.T) { } func TestParseInputTime(t *testing.T) { - tm, err := ParseInputTime("1.5") + tm, err := ParseInputTime("1.5", true) if err != nil { t.Errorf("expected error to be nil but was: %v", err) } |