storagenode/pieces: remove old comment (#3334)

the reservedSpace member it's talking about was removed quite a while
ago.

Change-Id: I28433b2a44467376a408453d875c389656347cab
This commit is contained in:
paul cannon 2019-10-22 18:51:51 +09:00 committed by Egon Elbre
parent 78000c0191
commit 5e78f4000b

View File

@ -349,9 +349,6 @@ func (store *Store) DeleteFailed(ctx context.Context, expired ExpiredInfo, when
//
// Important note: this metric does not include space used by piece headers, whereas
// storj/filestore/store.(*Store).SpaceUsed() *does* include all space used by the blobs.
//
// The value of reservedSpace for this Store is added to the result, but this should only affect
// tests (reservedSpace should always be 0 in real usage).
func (store *Store) SpaceUsedForPieces(ctx context.Context) (int64, error) {
if cache, ok := store.blobs.(*BlobsUsageCache); ok {
return cache.SpaceUsedForPieces(ctx)