diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-02 14:35:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 14:35:10 +0200 |
commit | 1db9053add6501f2c234a6f63bb1e74b5eb89cb0 (patch) | |
tree | cd905214eb28d789147998697fe9a26725017c47 /pkg/domain | |
parent | 3ae42358e13a25abdb1caa65c529e8171804095c (diff) | |
parent | c5beaf0e17185f6425df1f9db8fccbca370200cb (diff) | |
download | podman-1db9053add6501f2c234a6f63bb1e74b5eb89cb0.tar.gz podman-1db9053add6501f2c234a6f63bb1e74b5eb89cb0.tar.bz2 podman-1db9053add6501f2c234a6f63bb1e74b5eb89cb0.zip |
Merge pull request #9912 from jmguzik/recreate-prune-until-tests-for-containers
Recreate until container prune tests for bindings
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 |