Skip to content

Commit

Permalink
GB display
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrf45 committed Dec 1, 2024
1 parent 778f572 commit 7a926d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aegis-wrapper/aegis/docker_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def pull_image(self, image_name: str):
progress.update(
task,
completed=details['current'],
current_mb=details['current'] / (1024 * 1024),
total=details['total'] / (1024 * 1024),
current_gb=details['current'] / (1024 ** 3),
total=details['total'] / (1024 ** 3),
status=f"{line['status']}: {
details['current']}/{details['total']} MB",
details['current']}/{details['total']} GB",
)

elapsed_time = time.time() - start_time
Expand Down

0 comments on commit 7a926d9

Please sign in to comment.