From: Michael Tremer Date: Mon, 10 Feb 2025 10:49:32 +0000 (+0000) Subject: registry: Respond with the correct code when manifest was not found X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fdf6a576b1e1c997984e50040bb227d3ed00c5a7;p=pbs.git registry: Respond with the correct code when manifest was not found Signed-off-by: Michael Tremer --- diff --git a/src/web/registry.py b/src/web/registry.py index df93b3bf..a87b873c 100644 --- a/src/web/registry.py +++ b/src/web/registry.py @@ -206,7 +206,7 @@ class ManifestHandler(BaseHandler): # Fetch the blob blob = await self.get_blob(distro, digest) if not blob: - raise BlobUnknownError + raise ManifestUnknownError # Set Content-Type self.set_header("Content-Type", "application/vnd.oci.image.manifest.v1+json")