1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5236: round apps size

This commit is contained in:
Ruben S. Montero 2021-02-23 16:46:20 +01:00
parent a00504660f
commit 5f9bb93d51
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -113,7 +113,7 @@ class OneMarket
size = 0
if file['size'].to_i != 0
size = file['size'].to_i / (2**20)
size = (file['size'].to_f / (2**20)).ceil
end
print_var(tmpl, 'SIZE', size)