From 7006be9c486a66cac8847dc2113e309ec09c9daf Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Sat, 25 Mar 2017 18:13:02 +0530 Subject: [PATCH] Fix Healthcheck API doc Signed-off-by: Manjunath A Kumatagi Upstream-commit: 4df54695ef12fa0ba474b571771ed09232ad00ba Component: engine --- components/engine/api/swagger.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 343f015cd4..34795b3707 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -490,10 +490,10 @@ definitions: description: | The test to perform. Possible values are: - - `{}` inherit healthcheck from image or parent image - - `{"NONE"}` disable healthcheck - - `{"CMD", args...}` exec arguments directly - - `{"CMD-SHELL", command}` run command with system's default shell + - `[]` inherit healthcheck from image or parent image + - `["NONE"]` disable healthcheck + - `["CMD", args...]` exec arguments directly + - `["CMD-SHELL", command]` run command with system's default shell type: "array" items: type: "string"