Adjust libpod API Container Wait documentation to the code

Closes #9960

Signed-off-by: Pablo Correa Gómez <ablocorrea@hotmail.com>
This commit is contained in:
Pablo Correa Gómez 2021-04-07 18:56:37 +02:00
parent f44645aad6
commit 6f6dad4048
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

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: