Fixed a bug I created when rebasing.

Upstream-commit: 71d46eaf029fcc49edade5e7a967909d57e5c723
Component: engine
This commit is contained in:
David Sissitka
2013-09-11 01:39:55 -07:00
parent da3c9e0ef2
commit 2d267aa7ec

View File

@ -822,7 +822,7 @@ func getImagesByName(srv *Server, version float64, w http.ResponseWriter, r *htt
return fmt.Errorf("Conflict between containers and images")
}
return writeJSON(w, http.StatusOK, &APIID{ID: image.ID})
return writeJSON(w, http.StatusOK, image)
}
func postBuild(srv *Server, version float64, w http.ResponseWriter, r *http.Request, vars map[string]string) error {