Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
36b2d814
Kaydet (Commit)
36b2d814
authored
May 05, 2017
tarafından
Joffrey F
Kaydeden (comit)
GitHub
May 05, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1590 from alfred-landrum/denied-error
Update image create error parsing
üst
0a94e5a9
02c5914d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
errors.py
docker/errors.py
+2
-1
No files found.
docker/errors.py
Dosyayı görüntüle @
36b2d814
...
@@ -23,7 +23,8 @@ def create_api_error_from_http_exception(e):
...
@@ -23,7 +23,8 @@ def create_api_error_from_http_exception(e):
if
response
.
status_code
==
404
:
if
response
.
status_code
==
404
:
if
explanation
and
(
'No such image'
in
str
(
explanation
)
or
if
explanation
and
(
'No such image'
in
str
(
explanation
)
or
'not found: does not exist or no pull access'
'not found: does not exist or no pull access'
in
str
(
explanation
)):
in
str
(
explanation
)
or
'repository does not exist'
in
str
(
explanation
)):
cls
=
ImageNotFound
cls
=
ImageNotFound
else
:
else
:
cls
=
NotFound
cls
=
NotFound
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment