mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-10-27 08:41:13 +00:00
Update list of reasons for not found images. (#1315)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user