mirror of
https://github.com/docker/docs.git
synced 2026-03-30 07:48:52 +07:00
- Builder: hotfix for bug introduced in 3adf9ce04e
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