summaryrefslogtreecommitdiff
path: root/libpod/network
diff options
context:
space:
mode:
authorJakub Guzik <jakubmguzik@gmail.com>2021-03-24 00:42:42 +0100
committerJakub Guzik <jakubmguzik@gmail.com>2021-03-24 00:56:00 +0100
commit914218c1e8fd0dc11c1caee807bbed0cf26fdaf8 (patch)
tree4af0786346f704b0ea0765d34ea52740b622e5ba /libpod/network
parent5eab1b07428e4078bd15ca5b69f28f2733850cdd (diff)
downloadpodman-914218c1e8fd0dc11c1caee807bbed0cf26fdaf8.tar.gz
podman-914218c1e8fd0dc11c1caee807bbed0cf26fdaf8.tar.bz2
podman-914218c1e8fd0dc11c1caee807bbed0cf26fdaf8.zip
Unification of until filter across list/prune endpoints
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'libpod/network')
-rw-r--r--libpod/network/netconflist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/network/netconflist.go b/libpod/network/netconflist.go
index 179620a0d..08816f2bd 100644
--- a/libpod/network/netconflist.go
+++ b/libpod/network/netconflist.go
@@ -262,7 +262,7 @@ func IfPassesPruneFilter(config *config.Config, netconf *libcni.NetworkConfigLis
case "label":
return util.MatchLabelFilters(filterValues, GetNetworkLabels(netconf)), nil
case "until":
- until, err := util.ComputeUntilTimestamp(key, filterValues)
+ until, err := util.ComputeUntilTimestamp(filterValues)
if err != nil {
return false, err
}