From adf1e470a1139a125c9a2bc35b158a68a5cef221 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 11 Jul 2021 22:43:45 +0200 Subject: [PATCH] Add RestartPolicy "no" to swagger docs Signed-off-by: Tobias Gesellchen Signed-off-by: Sebastiaan van Stijn (cherry picked from commit d3d78c1ae3bf6f243c0bbee7160343a203a9d3c7) Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.40.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml index d9b424c6eb..b69140a5b4 100644 --- a/docs/api/v1.40.yaml +++ b/docs/api/v1.40.yaml @@ -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"