Add RestartPolicy "no" to swagger docs

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Tobias Gesellchen 2021-07-11 22:43:45 +02:00 committed by Sebastiaan van Stijn
parent 6e05fa7076
commit 90294e9bdb
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -382,11 +382,13 @@ definitions:
type: "string"
description: |
- Empty string means not to restart
- `no` Do not automatically 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:
- ""
- "no"
- "always"
- "unless-stopped"
- "on-failure"