summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2021-03-01 22:19:10 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2021-03-02 13:09:50 +0000
commit774aea45ee86da5cbb8533e8f712d7156aea6fc2 (patch)
treebbb2b04e77b3e23201897422038230ee57c1db80 /pkg
parent8af66806c8042501ca32e66efdeb463cf5346cab (diff)
downloadpodman-774aea45ee86da5cbb8533e8f712d7156aea6fc2.tar.gz
podman-774aea45ee86da5cbb8533e8f712d7156aea6fc2.tar.bz2
podman-774aea45ee86da5cbb8533e8f712d7156aea6fc2.zip
swagger: update the libpodPutArchive operation verb
This change fixes the libpodPutArchive verb to PUT (POST results in 405). Signed-off-by: Tristan Cacqueray <tdecacqu@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_archive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_archive.go b/pkg/api/server/register_archive.go
index 2a5cfba0b..2ac126644 100644
--- a/pkg/api/server/register_archive.go
+++ b/pkg/api/server/register_archive.go
@@ -91,7 +91,7 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
Libpod
*/
- // swagger:operation POST /libpod/containers/{name}/archive libpod libpodPutArchive
+ // swagger:operation PUT /libpod/containers/{name}/archive libpod libpodPutArchive
// ---
// summary: Copy files into a container
// description: Copy a tar archive of files into a container