summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_containers.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-04-06 09:43:49 -0700
committerJhon Honce <jhonce@redhat.com>2021-04-06 10:10:54 -0700
commit51b23be38b1018f5cee06e75dc481b5e070d6b41 (patch)
tree30edb27d1473bf34faae9497378c3ddf58b3de76 /pkg/api/server/register_containers.go
parentfa47b4f572862e5ee8f89d73a1a48c83b9fe9f96 (diff)
downloadpodman-51b23be38b1018f5cee06e75dc481b5e070d6b41.tar.gz
podman-51b23be38b1018f5cee06e75dc481b5e070d6b41.tar.bz2
podman-51b23be38b1018f5cee06e75dc481b5e070d6b41.zip
[CI:DOCS] Polish swagger OpertionIDs
Renamed 4 IDs to be consistent with other endpoints. Fixes #9951 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/server/register_containers.go')
-rw-r--r--pkg/api/server/register_containers.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index 3bf3e4e11..c2bb44c8f 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -774,7 +774,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// 500:
// $ref: "#/responses/InternalError"
r.HandleFunc(VersionedPath("/libpod/containers/prune"), s.APIHandler(compat.PruneContainers)).Methods(http.MethodPost)
- // swagger:operation GET /libpod/containers/showmounted libpod ShowMountedContainersLibpod
+ // swagger:operation GET /libpod/containers/showmounted libpod ContainerShowMountedLibpod
// ---
// tags:
// - containers
@@ -1468,8 +1468,8 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// 500:
// $ref: "#/responses/InternalError"
r.HandleFunc(VersionedPath("/libpod/containers/{name}/restore"), s.APIHandler(libpod.Restore)).Methods(http.MethodPost)
- // swagger:operation GET /containers/{name}/changes libpod ContainerChangesLibpod
- // swagger:operation GET /libpod/containers/{name}/changes compat ContainerChanges
+ // swagger:operation GET /containers/{name}/changes compat ContainerChanges
+ // swagger:operation GET /libpod/containers/{name}/changes libpod ContainerChangesLibpod
// ---
// tags:
// - containers