summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-30 09:45:32 -0600
committerEd Santiago <santiago@redhat.com>2020-03-30 09:45:34 -0600
commit11e79bcd95976643335fc351c416317d1b2dd248 (patch)
tree798587741326b30bc781fba17d77c26acdcb18f7
parent0fa01c8bf82a69d9c923fa982b70b72fade84be6 (diff)
downloadpodman-11e79bcd95976643335fc351c416317d1b2dd248.tar.gz
podman-11e79bcd95976643335fc351c416317d1b2dd248.tar.bz2
podman-11e79bcd95976643335fc351c416317d1b2dd248.zip
fix more swagger inconsistencies
I'm getting really tired of doing this manually. Signed-off-by: Ed Santiago <santiago@redhat.com>
-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