Pārlūkot izejas kodu

fix: The correct number is displayed

Signed-off-by: Kei Matsumoto <[email protected]>
Goryudyuma 6 gadi atpakaļ
vecāks
revīzija
f9099c91ae
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      compose/cli/utils.py

+ 1 - 1
compose/cli/utils.py

@@ -137,7 +137,7 @@ def human_readable_file_size(size):
     if order >= len(suffixes):
         order = len(suffixes) - 1
 
-    return '{0:.3g} {1}'.format(
+    return '{0:.4g} {1}'.format(
         size / float(1 << (order * 10)),
         suffixes[order]
     )