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
bc69b183
Kaydet (Commit)
bc69b183
authored
May 17, 2017
tarafından
Joffrey F
Kaydeden (comit)
GitHub
May 17, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1619 from docker/AlexeyRokhin-master
fix type checking for nano_cpus
üst
fb16d145
f6f5652e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
containers.py
docker/types/containers.py
+1
-1
No files found.
docker/types/containers.py
Dosyayı görüntüle @
bc69b183
...
...
@@ -466,7 +466,7 @@ class HostConfig(dict):
self
[
'CpuPercent'
]
=
cpu_percent
if
nano_cpus
:
if
not
isinstance
(
nano_cpus
,
int
):
if
not
isinstance
(
nano_cpus
,
six
.
integer_types
):
raise
host_config_type_error
(
'nano_cpus'
,
nano_cpus
,
'int'
)
if
version_lt
(
version
,
'1.25'
):
raise
host_config_version_error
(
'nano_cpus'
,
'1.25'
)
...
...
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