diff options
author | Jakub Guzik <jakubmguzik@gmail.com> | 2021-04-01 12:10:31 +0200 |
---|---|---|
committer | Jakub Guzik <jakubmguzik@gmail.com> | 2021-04-01 12:10:31 +0200 |
commit | c5beaf0e17185f6425df1f9db8fccbca370200cb (patch) | |
tree | 42101c7335a1de653aea113c2486169fd6791ca8 /pkg/domain | |
parent | 12881abc065afda5bf979accfead542d411f48d6 (diff) | |
download | podman-c5beaf0e17185f6425df1f9db8fccbca370200cb.tar.gz podman-c5beaf0e17185f6425df1f9db8fccbca370200cb.tar.bz2 podman-c5beaf0e17185f6425df1f9db8fccbca370200cb.zip |
Recreate until container prune tests for bindings
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/filters/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/filters/containers.go b/pkg/domain/filters/containers.go index 19d704da1..45791cd84 100644 --- a/pkg/domain/filters/containers.go +++ b/pkg/domain/filters/containers.go @@ -237,7 +237,7 @@ func prepareUntilFilterFunc(filterValues []string) (func(container *libpod.Conta return nil, err } return func(c *libpod.Container) bool { - if !until.IsZero() && c.CreatedTime().After((until)) { + if !until.IsZero() && c.CreatedTime().Before(until) { return true } return false |