api-ref: fix the type of restart_policy

Change-Id: I89826562cff15bb4437323e6ddf4bfa75afe66ec
Closes-Bug: #1756227
This commit is contained in:
Hongbin Lu 2018-03-16 03:53:02 +00:00
parent f5f94ec0f1
commit 5eeea22295

View File

@ -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