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
|
||||
restart_policy:
|
||||
description: |
|
||||
Restart policy to apply when a container exits. Allowed values are
|
||||
no, on-failure[:max-retry], always, unless-stopped.
|
||||
Restart policy to apply when a container exits. It must contain a
|
||||
``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
|
||||
type: string
|
||||
type: object
|
||||
runtime:
|
||||
description: |
|
||||
The container runtime tool to create container with. You can use
|
||||
|
Loading…
Reference in New Issue
Block a user