From a961b76aefee4a4859961891dbb2af67d2138ac0 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 90294e9bdbfd3edd6d5bbbdcfdc26c27481482a8) Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.41.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml index bada4a8e3c..87989b048d 100644 --- a/docs/api/v1.41.yaml +++ b/docs/api/v1.41.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"