mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
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:
parent
f44645aad6
commit
6f6dad4048
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue