summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-19 12:53:24 -0500
committerGitHub <noreply@github.com>2021-02-19 12:53:24 -0500
commit4aaaa6c1df3a1c90a930b97552bcc970d7d99dd4 (patch)
tree6172efc73609151617201c8907f139c9b4a16982 /pkg
parentb6db60e58f2f5abb4902c28c91e770495f3d4926 (diff)
parentcaa0bc157693bacbb21528f8d9645182f3e13516 (diff)
downloadpodman-4aaaa6c1df3a1c90a930b97552bcc970d7d99dd4.tar.gz
podman-4aaaa6c1df3a1c90a930b97552bcc970d7d99dd4.tar.bz2
podman-4aaaa6c1df3a1c90a930b97552bcc970d7d99dd4.zip
Merge pull request #9339 from matejvasek/update_wait_swagger
[CI:DOCS] Update swagger doc for libpod container wait
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_containers.go22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index ff1781d1e..2b8330d4c 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -1176,15 +1176,19 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// description: the name or ID of the container
// - in: query
// name: condition
- // type: string
- // description: |
- // wait until container is to a given condition. default is stopped. valid conditions are:
- // - configured
- // - created
- // - exited
- // - paused
- // - running
- // - stopped
+ // type: array
+ // items:
+ // type: string
+ // enum:
+ // - configured
+ // - created
+ // - running
+ // - stopped
+ // - paused
+ // - exited
+ // - removing
+ // - stopping
+ // description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
// produces:
// - application/json
// responses: