Skip to content

Commit

Permalink
0.9.8.17
Browse files Browse the repository at this point in the history
#####
1. 修复arm版本无法拉取镜像的问题

#####
  • Loading branch information
Xingsandesu committed Jan 19, 2024
1 parent 65e3a9e commit 499c588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion async_app/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def post(self, id):

# 首先,检查镜像是否已经存在
images = await aiodocker.images.list()
if any(img['RepoTags'][0] == image for img in images):
if any(img['RepoTags'][0] == image for img in images if img['RepoTags']):
logging.info(f"镜像:{image} 已经存在")
else:
# 如果镜像不存在,尝试拉取镜像
Expand Down
2 changes: 1 addition & 1 deletion core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"""

TAICHI_OS_WELCOME_MESSAGE = ("\n"
"版本 : 0.9.8-DEV\n"
"版本 : 0.9.8.17-DEV\n"
"GITHUB : https://github.com/Xingsandesu\n")
# # @/command 配置文件
# commands = {
Expand Down

0 comments on commit 499c588

Please sign in to comment.