bug fix return when not found image

Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
This commit is contained in:
Xian Chaobo 2015-05-04 04:48:44 -04:00
parent 92f8c8ec60
commit f802da02d7
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ func proxyImageAndForceRefresh(c *context, w http.ResponseWriter, r *http.Reques
if image == nil {
httpError(w, fmt.Sprintf("No such image: %s", name), http.StatusNotFound)
return
}
cb := func(resp *http.Response) {