Browse Source

Fixed a bug I created when rebasing.

David Sissitka 12 years ago
parent
commit
71d46eaf02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api.go

+ 1 - 1
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 {