- Builder: hotfix for bug introduced in 3adf9ce04e

This commit is contained in:
Solomon Hykes 2013-06-20 14:29:34 -07:00
parent a078d3c872
commit dbfb3eb923
1 changed files with 1 additions and 1 deletions

View File

@ -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
}