2e94c22fe4
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> |
||
---|---|---|
.. | ||
api_test.go | ||
app_test.go | ||
app.go | ||
basicauth_prego14.go | ||
basicauth.go | ||
blob.go | ||
blobupload.go | ||
catalog.go | ||
context.go | ||
health_test.go | ||
helpers.go | ||
hmac_test.go | ||
hmac.go | ||
hooks.go | ||
mail.go | ||
manifests.go | ||
tags.go |