From 2d8e837a9b351536fa45da8f80de5df118db6f1b Mon Sep 17 00:00:00 2001 From: Jakub Guzik Date: Thu, 22 Jul 2021 00:01:07 +0200 Subject: Add until filter to volume ls filters list As a conclusion of a discussion in #10861, until filter is added by this commit to volume ls filters. Signed-off-by: Jakub Guzik --- test/apiv2/30-volumes.at | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/apiv2/30-volumes.at') diff --git a/test/apiv2/30-volumes.at b/test/apiv2/30-volumes.at index b639e05f9..fd1542293 100644 --- a/test/apiv2/30-volumes.at +++ b/test/apiv2/30-volumes.at @@ -174,6 +174,8 @@ t POST libpod/volumes/create \ # with date way back in the past, volume should not be deleted (compat api) t POST volumes/prune?filters='{"until":["500000"]}' 200 t GET libpod/volumes/json?filters='{"label":["testuntilcompat"]}' 200 length=1 +t GET libpod/volumes/json?filters='{"until":["500000"]}' 200 length=0 +t GET libpod/volumes/json?filters='{"until":["5000000000"]}' 200 length=1 # with date far in the future, volume should be deleted (compat api) t POST volumes/prune?filters='{"until":["5000000000"]}' 200 -- cgit v1.2.3-54-g00ecf