diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-04-03 13:32:21 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-04-09 13:05:19 +0200 |
commit | ff52b7524a8b6db7bb58eeda2b9328730a54c611 (patch) | |
tree | c61fed3d614ecb612df40b3ed8469bd3321eb3a6 /pkg/api/server | |
parent | 46227e0b030ac4180d8f3179f2b33c5d6d8fd200 (diff) | |
download | podman-ff52b7524a8b6db7bb58eeda2b9328730a54c611.tar.gz podman-ff52b7524a8b6db7bb58eeda2b9328730a54c611.tar.bz2 podman-ff52b7524a8b6db7bb58eeda2b9328730a54c611.zip |
podmanV2: implement search
Also implement a new libpod endpoint to add more parameters and to
prevent us from converting between slices and maps and make use of
the filter parsing in the image backend.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 77560e789..7dd887037 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -919,7 +919,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // $ref: "#/responses/DocsSearchResponse" // 500: // $ref: '#/responses/InternalError' - r.Handle(VersionedPath("/libpod/images/search"), s.APIHandler(compat.SearchImages)).Methods(http.MethodGet) + r.Handle(VersionedPath("/libpod/images/search"), s.APIHandler(libpod.SearchImages)).Methods(http.MethodGet) // swagger:operation DELETE /libpod/images/{name:.*} libpod libpodRemoveImage // --- // tags: |