diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-20 10:05:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 10:05:11 +0100 |
commit | 8355c80dc46abb9a2e67344b049a815dd5a5e4d3 (patch) | |
tree | 4217ab877f698ed28402e4fffcb3cedbaa69f27c | |
parent | e561280510e4ef5fc4100811a971d134b01c72a9 (diff) | |
parent | 1d8437d3ca7a1886f573477dfce66a2778d8176b (diff) | |
download | podman-8355c80dc46abb9a2e67344b049a815dd5a5e4d3.tar.gz podman-8355c80dc46abb9a2e67344b049a815dd5a5e4d3.tar.bz2 podman-8355c80dc46abb9a2e67344b049a815dd5a5e4d3.zip |
Merge pull request #5267 from edsantiago/swagger_fixes
Swagger: fix one incorrect comment
-rw-r--r-- | pkg/api/server/register_images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 5b9ac7952..4c8f05385 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -822,7 +822,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // 500: // $ref: '#/responses/InternalError' r.Handle(VersionedPath("/libpod/images/search"), s.APIHandler(handlers.SearchImages)).Methods(http.MethodGet) - // swagger:operation DELETE /libpod/images/{name} libpod libpodRemoveImage + // swagger:operation DELETE /libpod/images/{name:.*} libpod libpodRemoveImage // --- // tags: // - images @@ -830,7 +830,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // description: Delete an image from local store // parameters: // - in: path - // name: name + // name: name:.* // type: string // required: true // description: name or ID of image to delete |