From 71d46eaf029fcc49edade5e7a967909d57e5c723 Mon Sep 17 00:00:00 2001 From: David Sissitka Date: Wed, 11 Sep 2013 01:39:55 -0700 Subject: [PATCH] Fixed a bug I created when rebasing. --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index cefc7a7f83..5d565ef4dc 100644 --- a/api.go +++ b/api.go @@ -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 {