api-ref: fix the type of restart_policy
Change-Id: I89826562cff15bb4437323e6ddf4bfa75afe66ec Closes-Bug: #1756227
This commit is contained in:
parent
f5f94ec0f1
commit
5eeea22295
@ -501,10 +501,12 @@ request_id_body:
|
|||||||
type: string
|
type: string
|
||||||
restart_policy:
|
restart_policy:
|
||||||
description: |
|
description: |
|
||||||
Restart policy to apply when a container exits. Allowed values are
|
Restart policy to apply when a container exits. It must contain a
|
||||||
no, on-failure[:max-retry], always, unless-stopped.
|
``Name`` key and its allowed values are ``no``, ``on-failure``, ``always``,
|
||||||
|
``unless-stopped``. Optionally, it can contain a ``MaximumRetryCount`` key
|
||||||
|
and its value is an integer.
|
||||||
in: body
|
in: body
|
||||||
type: string
|
type: object
|
||||||
runtime:
|
runtime:
|
||||||
description: |
|
description: |
|
||||||
The container runtime tool to create container with. You can use
|
The container runtime tool to create container with. You can use
|
||||||
|
Loading…
Reference in New Issue
Block a user