summaryrefslogtreecommitdiff
path: root/test/apiv2/40-pods.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-21 15:27:57 +0200
committerGitHub <noreply@github.com>2020-08-21 15:27:57 +0200
commita8619bbb832646a816a138e0656ca6abdc9ad04e (patch)
tree111c5a5122e76d8f91921b69b32e00d02e4c0e96 /test/apiv2/40-pods.at
parent516196f09677819b72d03e068fb8094b28e273aa (diff)
parentfb4977b936a54497434967997f61ae18a1d44373 (diff)
downloadpodman-a8619bbb832646a816a138e0656ca6abdc9ad04e.tar.gz
podman-a8619bbb832646a816a138e0656ca6abdc9ad04e.tar.bz2
podman-a8619bbb832646a816a138e0656ca6abdc9ad04e.zip
Merge pull request #7395 from zhangguanzhang/libpod-api-returns-null
fix /libpod/pods/json returns null when there are no pods
Diffstat (limited to 'test/apiv2/40-pods.at')
-rw-r--r--test/apiv2/40-pods.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at
index 9b8ff04f0..3df541de5 100644
--- a/test/apiv2/40-pods.at
+++ b/test/apiv2/40-pods.at
@@ -3,7 +3,7 @@
# test pod-related endpoints
#
-t GET "libpod/pods/json (clean slate at start)" 200 null
+t GET "libpod/pods/json (clean slate at start)" 200 '[]'
t POST libpod/pods/create name=foo 201 .Id~[0-9a-f]\\{64\\}
pod_id=$(jq -r .Id <<<"$output")