diff options
author | Joffrey F <joffrey@docker.com> | 2017-01-25 12:02:53 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-01-25 12:02:53 -0800 |
commit | 93877241f9c4d25967e41b050a1fe2966355ede5 (patch) | |
tree | 4e9f47fe635098e687b9b3946278ca6ec0a8069c /docker/errors.py | |
parent | e87ed38f694866416e471e43a136584c463fd42a (diff) | |
download | docker-py-1407-tar-ignore-sockets.tar.gz |
Fix ImageNotFound detection1407-tar-ignore-sockets
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/errors.py')
-rw-r--r-- | docker/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/errors.py b/docker/errors.py index 95c462b..d9b197d 100644 --- a/docker/errors.py +++ b/docker/errors.py @@ -22,7 +22,7 @@ def create_api_error_from_http_exception(e): cls = APIError if response.status_code == 404: if explanation and ('No such image' in str(explanation) or - 'not found: does not exist or no read access' + 'not found: does not exist or no pull access' in str(explanation)): cls = ImageNotFound else: |