From 8ea0c8eb22501028d684779e3360fd0db2aa4205 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Thu, 8 Feb 2018 12:45:18 +0100 Subject: [PATCH] Fix string type for buildargs API definition Signed-off-by: Jon Surrell Upstream-commit: f281358ba2de6204a61cdb062fa67a8b7134739c Component: engine --- components/engine/api/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index cc3ee80cb2..a70906a140 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -6174,7 +6174,7 @@ paths: - name: "buildargs" in: "query" description: "JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)" - type: "integer" + type: "string" - name: "shmsize" in: "query" description: "Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB."