Skip to content

Commit 13e0dc5

Browse files
committed
fix: incorrect pull progress if some layers existed
Signed-off-by: thxCode <[email protected]>
1 parent 62955d9 commit 13e0dc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gpustack_runtime/deployer/docker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,8 @@ def _textualize_pull_logs(logs, image, tag):
20312031

20322032
if id_ not in pstats:
20332033
pstats[id_] = (0, 0, 0)
2034+
if status in ["Pull complete", "Already exists"]:
2035+
pstats[id_] = (0, 0, 100)
20342036
continue
20352037

20362038
progress = log.get("progressDetail", {})

0 commit comments

Comments
 (0)