소스 검색

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 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 {
 func postBuild(srv *Server, version float64, w http.ResponseWriter, r *http.Request, vars map[string]string) error {