diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-20 17:06:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 17:06:36 +0100 |
commit | 3e5699224bf4bbaa7f61681831a8bf36e3d7aec4 (patch) | |
tree | 2efc288f5647a37595d9b84edefc1e2ee3896e12 /pkg/api | |
parent | e7d8bda8706b98dfc182cf03e294dc1ce83af6d2 (diff) | |
parent | 3db43dcce3479b73b023dee1798a69bc78b15fb8 (diff) | |
download | podman-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')
-rw-r--r-- | pkg/api/handlers/libpod/pods.go | 2 |
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 } |