Skip to content

Commit

Permalink
FIX: 忽略了清单文件不规范的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
topcss committed Jan 24, 2025
1 parent 30065a6 commit 249bd1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_image_puller.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def select_manifest(resp_json, arch):
platform = m.get('platform', {})
if platform.get('os') == 'linux' and platform.get('architecture') == arch:
return m
raise RuntimeError(f'您指定的架构 {arch} 不支持')
# raise RuntimeError(f'您指定的架构 {arch} 不支持')

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

0 comments on commit 249bd1e

Please sign in to comment.