1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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 {