summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-12 08:19:13 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-14 07:37:55 -0500
commit14940a067d007af445560a0a7eb414f6547a7cd4 (patch)
tree132d47f6b019e38a32951c2d9b38968b601c0169 /pkg/api/server
parent9686216f9d44e1d6b4fa60a5c0866746d1afa60b (diff)
downloadpodman-14940a067d007af445560a0a7eb414f6547a7cd4.tar.gz
podman-14940a067d007af445560a0a7eb414f6547a7cd4.tar.bz2
podman-14940a067d007af445560a0a7eb414f6547a7cd4.zip
Remove two GetImages functions from API
[NO NEW TESTS NEEDED] This is just code cleanup. The remote API has three different GetImages functions, which I believe can be handled by just one function. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index d9cda8579..df48253e2 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -840,7 +840,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// $ref: "#/responses/LibpodImageSummaryResponse"
// 500:
// $ref: '#/responses/InternalError'
- r.Handle(VersionedPath("/libpod/images/json"), s.APIHandler(libpod.GetImages)).Methods(http.MethodGet)
+ r.Handle(VersionedPath("/libpod/images/json"), s.APIHandler(compat.GetImages)).Methods(http.MethodGet)
// swagger:operation POST /libpod/images/load libpod ImageLoadLibpod
// ---
// tags: