瀏覽代碼

Fixed a bug I created when rebasing.

David Sissitka 12 年之前
父節點
當前提交
71d46eaf02
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {