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
|
// - removing
|
||||||
// - stopping
|
// - stopping
|
||||||
// description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
|
// 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:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
|
// - text/plain
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// $ref: "#/responses/ContainerWaitResponse"
|
// description: Status code
|
||||||
|
// schema:
|
||||||
|
// type: integer
|
||||||
|
// format: int32
|
||||||
|
// examples:
|
||||||
|
// text/plain: 137
|
||||||
// 404:
|
// 404:
|
||||||
// $ref: "#/responses/NoSuchContainer"
|
// $ref: "#/responses/NoSuchContainer"
|
||||||
// 500:
|
// 500:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue