summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-02 18:19:24 +0100
committerGitHub <noreply@github.com>2021-11-02 18:19:24 +0100
commite63e90999c88c7e8c9193c98df962e47001adb0f (patch)
treea60243c69d6febb0f813a609a469014b451d8405 /pkg/api/server/register_images.go
parent0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a (diff)
parentd0dfc5e2234a3567addd8163a0bd6a3f03d740cc (diff)
downloadpodman-e63e90999c88c7e8c9193c98df962e47001adb0f.tar.gz
podman-e63e90999c88c7e8c9193c98df962e47001adb0f.tar.bz2
podman-e63e90999c88c7e8c9193c98df962e47001adb0f.zip
Merge pull request #12156 from matejvasek/docker-api-zero-value-fixes
Fix libpod API conformance to swagger
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r--pkg/api/server/register_images.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index e21cc2a33..38ceea271 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -967,7 +967,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - application/json
// responses:
// 200:
- // $ref: "#/responses/DocsImageDeleteResponse"
+ // $ref: "#/responses/DocsLibpodImagesRemoveResponse"
// 400:
// $ref: "#/responses/BadParamError"
// 404:
@@ -1069,7 +1069,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - application/json
// responses:
// 200:
- // $ref: "#/responses/DocsImageDeleteResponse"
+ // $ref: "#/responses/DocsLibpodPruneResponse"
// 500:
// $ref: '#/responses/InternalError'
r.Handle(VersionedPath("/libpod/images/prune"), s.APIHandler(libpod.PruneImages)).Methods(http.MethodPost)