diff --git a/go.mod b/go.mod index 391d3b20..34aa8867 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/nspcc-dev/neofs-node go 1.14 require ( - code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48 github.com/golang/protobuf v1.4.3 github.com/google/uuid v1.1.1 github.com/hashicorp/golang-lru v0.5.4 diff --git a/go.sum b/go.sum index 7975e266..61af2abc 100644 Binary files a/go.sum and b/go.sum differ diff --git a/pkg/local_object_storage/blobovnicza/sizes.go b/pkg/local_object_storage/blobovnicza/sizes.go index cecdb3f0..027018a5 100644 --- a/pkg/local_object_storage/blobovnicza/sizes.go +++ b/pkg/local_object_storage/blobovnicza/sizes.go @@ -3,8 +3,8 @@ package blobovnicza import ( "encoding/binary" "fmt" + "strconv" - "code.cloudfoundry.org/bytefmt" "go.etcd.io/bbolt" ) @@ -18,7 +18,7 @@ func stringifyBounds(lower, upper uint64) string { } func stringifyByteSize(sz uint64) string { - return bytefmt.ByteSize(sz) + return strconv.FormatUint(sz, 10) } func bucketKeyFromBounds(upperBound uint64) []byte {