add empty string for restart policy in swagger.yml
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
a9ff628a3c
commit
1c7b03a455
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue