Update list of reasons for not found images. (#1315)

This commit is contained in:
Felix Fontein
2026-09-14 22:37:33 +02:00
committed by GitHub
parent 447638d7cf
commit d7208094b6
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -45,6 +45,8 @@ def create_api_error_from_http_exception(e: _HTTPError) -> t.NoReturn:
"No such image" in str(explanation)
or "not found: does not exist or no pull access" in str(explanation)
or "repository does not exist" in str(explanation)
or "was found but does not match the specified platform" in str(explanation)
or "failed to resolve reference" in str(explanation)
):
cls = ImageNotFound
else: