Browse code

Merge pull request #35146 from masaeedu/27919-removemultitypes

Change multi-type parameters to single type

Daniel Nephin authored on 2017/12/07 06:22:17
Showing 1 changed files
... ...
@@ -823,9 +823,7 @@ definitions:
823 823
           type: "string"
824 824
       Cmd:
825 825
         description: "Command to run specified as a string or an array of strings."
826
-        type:
827
-          - "array"
828
-          - "string"
826
+        type: "array"
829 827
         items:
830 828
           type: "string"
831 829
       Healthcheck:
... ...
@@ -853,9 +851,7 @@ definitions:
853 853
           The entry point for the container as a string or an array of strings.
854 854
 
855 855
           If the array consists of exactly one empty string (`[""]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`).
856
-        type:
857
-          - "array"
858
-          - "string"
856
+        type: "array"
859 857
         items:
860 858
           type: "string"
861 859
       NetworkDisabled: