Skip to content

Commit

Permalink
mib
Browse files Browse the repository at this point in the history
  • Loading branch information
odesenfans committed Aug 22, 2023
1 parent b2334dd commit 98b8129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/services/cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_volume_size(session: DbSession, content: ExecutableContent) -> Decimal:
total_volume_size += Decimal(file.size)

for volume in sized_volumes:
total_volume_size += Decimal(volume.size_mib * 1024 * 1024)
total_volume_size += Decimal(volume.size_mib * MiB)

return total_volume_size

Expand Down

0 comments on commit 98b8129

Please sign in to comment.