return NOT_FOUND instead of FORBIDDEN when blob does not exist
This commit is contained in:
parent
453ff83e6c
commit
ccee0f7ca6
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ impl RegistryError {
|
|||
headers: HeaderMap::new(),
|
||||
},
|
||||
RegistryError::BlobUnknown => RawRegistryError {
|
||||
status_code: StatusCode::FORBIDDEN,
|
||||
status_code: StatusCode::NOT_FOUND,
|
||||
error_code: "BLOB_UNKNOWN",
|
||||
message: "Blob does not exist",
|
||||
headers: HeaderMap::new(),
|
||||
|
|
Loading…
Reference in a new issue