Fixed a bug I created when rebasing.

This commit is contained in:
David Sissitka 2013-09-11 01:39:55 -07:00
parent f4ba0d4267
commit 71d46eaf02
1 changed files with 1 additions and 1 deletions

2
api.go
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 {