Skip to content

Commit 249bd1e

Browse files
committed
FIX: 忽略了清单文件不规范的情况
1 parent 30065a6 commit 249bd1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker_image_puller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def select_manifest(resp_json, arch):
102102
platform = m.get('platform', {})
103103
if platform.get('os') == 'linux' and platform.get('architecture') == arch:
104104
return m
105-
raise RuntimeError(f'您指定的架构 {arch} 不支持')
105+
# raise RuntimeError(f'您指定的架构 {arch} 不支持')
106106

107107
def download_layers(session, registry, repository, layers, auth_head, imgdir, resp_json, imgparts, img, tag):
108108
"""下载镜像层"""

0 commit comments

Comments
 (0)