summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-30 19:29:10 +0200
committerGitHub <noreply@github.com>2020-03-30 19:29:10 +0200
commitedd623c4196f4b193387730f7989cfa108d634be (patch)
treeb4cdb4cafdd9c7a1eb0e92462902e3010a423fa3
parent95d9a1e667cc32209cbc6ed80fd7cf3cc2527309 (diff)
parent11e79bcd95976643335fc351c416317d1b2dd248 (diff)
downloadpodman-edd623c4196f4b193387730f7989cfa108d634be.tar.gz
podman-edd623c4196f4b193387730f7989cfa108d634be.tar.bz2
podman-edd623c4196f4b193387730f7989cfa108d634be.zip
Merge pull request #5667 from edsantiago/apiv2_fixes
fix more swagger inconsistencies
-rw-r--r--pkg/api/server/register_pods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_pods.go b/pkg/api/server/register_pods.go
index 77415793b..a49bf1f63 100644
--- a/pkg/api/server/register_pods.go
+++ b/pkg/api/server/register_pods.go
@@ -263,7 +263,7 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
// 500:
// $ref: "#/responses/InternalError"
r.Handle(VersionedPath("/libpod/pods/{name}/unpause"), s.APIHandler(libpod.PodUnpause)).Methods(http.MethodPost)
- // swagger:operation POST /libpod/pods/{name}/top pods topPod
+ // swagger:operation GET /libpod/pods/{name}/top pods topPod
// ---
// summary: List processes
// description: List processes running inside a pod