From eb36f54717b35445eb7653e047d6139adea8ea92 Mon Sep 17 00:00:00 2001
From: Matej Marusak <mmarusak@redhat.com>
Date: Tue, 24 Mar 2020 08:34:11 +0100
Subject: Correctly document libpod commit endpoint

In #5588 it was forgotten and documentation still points to `/commit`.

Signed-off-by: Matej Marusak <mmarusak@redhat.com>
---
 pkg/api/server/register_images.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3-54-g00ecf