summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/pods.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-20 17:06:36 +0100
committerGitHub <noreply@github.com>2020-02-20 17:06:36 +0100
commit3e5699224bf4bbaa7f61681831a8bf36e3d7aec4 (patch)
tree2efc288f5647a37595d9b84edefc1e2ee3896e12 /pkg/api/handlers/libpod/pods.go
parente7d8bda8706b98dfc182cf03e294dc1ce83af6d2 (diff)
parent3db43dcce3479b73b023dee1798a69bc78b15fb8 (diff)
downloadpodman-3e5699224bf4bbaa7f61681831a8bf36e3d7aec4.tar.gz
podman-3e5699224bf4bbaa7f61681831a8bf36e3d7aec4.tar.bz2
podman-3e5699224bf4bbaa7f61681831a8bf36e3d7aec4.zip
Merge pull request #5251 from sujil02/pod-test
Add test to validate the pod bindings api
Diffstat (limited to 'pkg/api/handlers/libpod/pods.go')
-rw-r--r--pkg/api/handlers/libpod/pods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/pods.go b/pkg/api/handlers/libpod/pods.go
index 008b9b14b..f5700579b 100644
--- a/pkg/api/handlers/libpod/pods.go
+++ b/pkg/api/handlers/libpod/pods.go
@@ -119,7 +119,7 @@ func Pods(w http.ResponseWriter, r *http.Request) {
return
}
- if _, found := r.URL.Query()["filters"]; found {
+ if len(query.Filters) > 0 {
utils.Error(w, "filters are not implemented yet", http.StatusInternalServerError, define.ErrNotImplemented)
return
}