summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorJakub Guzik <jakubmguzik@gmail.com>2021-04-01 12:10:31 +0200
committerMatthew Heon <mheon@redhat.com>2021-04-16 13:42:06 -0400
commitb76cc706ad8b8991f741fc12704f535a79769a7b (patch)
tree2b14d1cc07b2aa4175a04dfb5cd938525279817d /pkg/domain
parentdda91e3454a7154ccf2c3d87a918ae931e54c738 (diff)
downloadpodman-b76cc706ad8b8991f741fc12704f535a79769a7b.tar.gz
podman-b76cc706ad8b8991f741fc12704f535a79769a7b.tar.bz2
podman-b76cc706ad8b8991f741fc12704f535a79769a7b.zip
Recreate until container prune tests for bindings
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com> <MH: Fixed cherry-pick conflicts> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/filters/containers.go2
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