From 1c7b03a45563ae7e8000465feb04f7c299bb0d6d Mon Sep 17 00:00:00 2001 From: allencloud Date: Mon, 17 Apr 2017 14:37:37 +0800 Subject: [PATCH] add empty string for restart policy in swagger.yml Signed-off-by: allencloud --- api/swagger.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index 01f9d5d233..199aec6b70 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -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"