mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
Add test to validate the pod bindings api
Include test to validate pod create, start, stop, restart, pause, unpause, list, and inspect api bindings. Also includes bug fixes that resulted in invalid api responses. Signed-off-by: Sujil02 <sushah@redhat.com>
This commit is contained in:
@ -121,7 +121,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
|
||||
}
|
||||
|
Reference in New Issue
Block a user