mirror of https://github.com/docker/docs.git
bug fix return when not found image
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
This commit is contained in:
parent
92f8c8ec60
commit
f802da02d7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue