зеркало из https://github.com/microsoft/docker.git
Fixed a bug I created when rebasing.
This commit is contained in:
Родитель
f4ba0d4267
Коммит
71d46eaf02
2
api.go
2
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 {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче