diff options
author | Jakub Guzik <jakubmguzik@gmail.com> | 2021-08-09 23:57:26 +0200 |
---|---|---|
committer | Jakub Guzik <jakubmguzik@gmail.com> | 2021-08-10 22:10:40 +0200 |
commit | ed30ae4a8aacf87cb9be3cfed2e43499cb4d8649 (patch) | |
tree | 7cbad58484441f0c658abed34bbfc0ae61c5b169 /test/apiv2/40-pods.at | |
parent | 6513adda185986c1994d2a2d354b874aee7543e6 (diff) | |
download | podman-ed30ae4a8aacf87cb9be3cfed2e43499cb4d8649.tar.gz podman-ed30ae4a8aacf87cb9be3cfed2e43499cb4d8649.tar.bz2 podman-ed30ae4a8aacf87cb9be3cfed2e43499cb4d8649.zip |
Add until filter to podman pod ps
This commit adds additional until filter to podman pod ps (ls/list).
Additionally, it also adds descriptions for podman pod ps filters available
via http api.
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'test/apiv2/40-pods.at')
-rw-r--r-- | test/apiv2/40-pods.at | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at index 94c72dbaa..985b26411 100644 --- a/test/apiv2/40-pods.at +++ b/test/apiv2/40-pods.at @@ -19,6 +19,9 @@ t GET libpod/pods/json 200 \ .[0].Id=$pod_id \ .[0].Containers\|length=1 +t GET libpod/pods/json?filters='{"until":["500000"]}' 200 length=0 +t GET libpod/pods/json?filters='{"until":["5000000000"]}' 200 length=1 + # Cannot create a dup pod with the same name t POST "libpod/pods/create (dup pod)" name=foo 409 \ .cause="pod already exists" |