distribution/registry/handlers
Yu Wang (UC) 2e94c22fe4 issue#2135 image pull returns 404 on manifest request if there is storage error
When get manifest, the handler will try to retrieve it from storage driver. When storage driver is cloud storage, it can fail due to various reasons even if the manifest exists
(like 500, 503, etc. from storage server). Currently manifest handler blindly return 404 which can be confusing to user.

This change will return 404 if the manifest blob doesn't exist, and return 500 UnknownError for all other errors (consistent with the behavior of other handlers).

Signed-off-by: Yu Wang (UC) <yuwa@microsoft.com>
2017-01-11 12:34:11 -08:00
..
api_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
app.go registy/handlers: move images to manifests 2017-01-10 16:09:15 -08:00
app_test.go Change DELETE action from "*" to "delete" 2017-01-03 12:27:12 -08:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
blobupload.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
catalog.go Stop ErrFinishedWalk from escaping from Repositories walk 2016-08-05 17:21:48 -07:00
context.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
health_test.go Disable upload purging during test 2016-08-26 16:23:07 -07:00
helpers.go fix typos 2016-06-02 23:03:27 +08:00
hmac.go handlers: provide better log message on mismatched secret 2016-09-02 15:24:35 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
manifests.go issue#2135 image pull returns 404 on manifest request if there is storage error 2017-01-11 12:34:11 -08:00
tags.go Pass through known errors 2016-04-29 23:34:24 +02:00