Merge pull request #9968 from pablofsf/fix-libpod-container-wait-docs

[CI:DOCS] Adjust libpod API Container Wait documentation to the code
This commit is contained in:
OpenShift Merge Robot 2021-04-08 11:39:09 -04:00 committed by GitHub
commit 99e3111814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -1194,11 +1194,22 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - removing
// - stopping
// description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
// - in: query
// name: interval
// type: string
// default: "250ms"
// description: Time Interval to wait before polling for completion.
// produces:
// - application/json
// - text/plain
// responses:
// 200:
// $ref: "#/responses/ContainerWaitResponse"
// description: Status code
// schema:
// type: integer
// format: int32
// examples:
// text/plain: 137
// 404:
// $ref: "#/responses/NoSuchContainer"
// 500: