forked from TrueCloudLab/frostfs-api-go
Fix NaN ObjectSize
This commit is contained in:
parent
959fb58dba
commit
9366b51ace
3 changed files with 9 additions and 4 deletions
|
@ -32,7 +32,7 @@ func (b ByteSize) String() string {
|
|||
case num > UnitsKB:
|
||||
unit = "KB"
|
||||
dec = UnitsKB
|
||||
case num > UnitsB:
|
||||
default:
|
||||
dec = 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue