mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
- Builder: hotfix for bug introduced in 3adf9ce04ef1632f82f7bd1585c135bb141aa450
Upstream-commit: dbfb3eb92391d90741be3238551a0fffcf2dbcdc Component: engine
This commit is contained in:
@@ -197,7 +197,7 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
|
||||
v := &url.Values{}
|
||||
v.Set("t", *tag)
|
||||
// Send the multipart request with correct content-type
|
||||
req, err := http.NewRequest("POST", fmt.Sprintf("/v%s/build?%s", APIVERSION, v.Encode()), multipartBody)
|
||||
req, err := http.NewRequest("POST", fmt.Sprintf("/v%g/build?%s", APIVERSION, v.Encode()), multipartBody)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user