summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Marusak <mmarusak@redhat.com>2020-03-24 08:34:11 +0100
committerMatej Marusak <mmarusak@redhat.com>2020-03-24 08:37:54 +0100
commiteb36f54717b35445eb7653e047d6139adea8ea92 (patch)
treef92c7b19835cfc64370ecbfc851c93ddd62748e9
parent02de8d576b531430f90ef2ab7a290c7fb59e9f3c (diff)
downloadpodman-eb36f54717b35445eb7653e047d6139adea8ea92.tar.gz
podman-eb36f54717b35445eb7653e047d6139adea8ea92.tar.bz2
podman-eb36f54717b35445eb7653e047d6139adea8ea92.zip
Correctly document libpod commit endpoint
In #5588 it was forgotten and documentation still points to `/commit`. Signed-off-by: Matej Marusak <mmarusak@redhat.com>
-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 87ddf5add..e8dfe2fa8 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 {
// 500:
// $ref: '#/responses/InternalError'
r.Handle(VersionedPath("/libpod/images/{name:.*}/tag"), s.APIHandler(compat.TagImage)).Methods(http.MethodPost)
- // swagger:operation POST /commit libpod libpodCommitContainer
+ // swagger:operation POST /libpod/commit libpod libpodCommitContainer
// ---
// tags:
// - containers