summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_pods.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-25 23:23:39 -0800
committerGitHub <noreply@github.com>2020-01-25 23:23:39 -0800
commitd07f611885311538895fe5b665dccf75d1448fc3 (patch)
treec308c5445220b675567d67e0e3c296d31b90528d /pkg/api/server/register_pods.go
parent689da532fa8f9c72d4fd7afe963d6eb44fe0e623 (diff)
parent5da70b04dd95263a536cc148288d2e20cd9dea30 (diff)
downloadpodman-d07f611885311538895fe5b665dccf75d1448fc3.tar.gz
podman-d07f611885311538895fe5b665dccf75d1448fc3.tar.bz2
podman-d07f611885311538895fe5b665dccf75d1448fc3.zip
Merge pull request #4965 from baude/reviewcorrections3
APIv2 review corrections #3
Diffstat (limited to 'pkg/api/server/register_pods.go')
-rw-r--r--pkg/api/server/register_pods.go16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkg/api/server/register_pods.go b/pkg/api/server/register_pods.go
index 1ef14b58c..5c7b51871 100644
--- a/pkg/api/server/register_pods.go
+++ b/pkg/api/server/register_pods.go
@@ -30,17 +30,15 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
// swagger:operation POST /libpod/pods/prune pods PrunePods
// ---
// summary: Prune unused pods
- // parameters:
- // - in: query
- // name: force
- // description: force delete
- // type: boolean
- // default: false
// produces:
// - application/json
// responses:
- // 204:
- // description: no error
+ // 200:
+ // description: tbd
+ // schema:
+ // type: object
+ // additionalProperties:
+ // type: string
// 400:
// $ref: "#/responses/BadParamError"
// 500:
@@ -60,7 +58,7 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
// - in: query
// name: force
// type: boolean
- // description: force delete
+ // description : force removal of a running pod by first stopping all containers, then removing all containers in the pod
// responses:
// 204:
// description: no error