This commit is contained in:
Andrea Spacca
2021-07-23 11:21:05 +02:00
parent 3ea4ffd0e3
commit 3990c3c5b7
2 changed files with 10 additions and 11 deletions

View File

@ -276,7 +276,6 @@ func formatSize(size int64) string {
suffixes[3] = "GB"
suffixes[4] = "TB"
getSuffix := suffixes[int(math.Floor(base))]
return fmt.Sprintf("%s %s", strconv.FormatFloat(newVal, 'f', -1, 64), getSuffix)
}