... | ... |
@@ -197,7 +197,7 @@ func (cli *DockerCli) CmdBuild(args ...string) error { |
197 | 197 |
v := &url.Values{} |
198 | 198 |
v.Set("t", *tag) |
199 | 199 |
// Send the multipart request with correct content-type |
200 |
- req, err := http.NewRequest("POST", fmt.Sprintf("/v%s/build?%s", APIVERSION, v.Encode()), multipartBody) |
|
200 |
+ req, err := http.NewRequest("POST", fmt.Sprintf("/v%g/build?%s", APIVERSION, v.Encode()), multipartBody) |
|
201 | 201 |
if err != nil { |
202 | 202 |
return err |
203 | 203 |
} |