Browse code

- Builder: hotfix for bug introduced in 3adf9ce04ef1632f82f7bd1585c135bb141aa450

Solomon Hykes authored on 2013/06/21 06:29:34
Showing 1 changed files
... ...
@@ -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
 	}