فهرست منبع

Merge pull request #32107 from mkumatag/fix_api_doc

Fix Healthcheck API doc
Sebastiaan van Stijn 8 سال پیش
والد
کامیت
abecc530ee
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      api/swagger.yaml

+ 4 - 4
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"