add empty string for restart policy in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2017-04-17 14:37:37 +08:00
parent a9ff628a3c
commit 1c7b03a455

View file

@ -308,10 +308,12 @@ definitions:
Name:
type: "string"
description: |
- Empty string means not to restart
- `always` Always restart
- `unless-stopped` Restart always except when the user has manually stopped the container
- `on-failure` Restart only when the container exit code is non-zero
enum:
- ""
- "always"
- "unless-stopped"
- "on-failure"