aboutsummaryrefslogtreecommitdiff
path: root/objectstore/chain/size.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-22 23:10:37 +0000
committerGravatar Runxi Yu2026-03-22 23:13:19 +0000
commitab6f8dde0cdc554084c4455c76feef0099db70d9 (patch)
tree6c6a207d6094a8d99b1b1b43f8bdee93c19871e0 /objectstore/chain/size.go
parentcommitgraph: Tighten docs and use a value-ish Filter return (diff)
signatureNo signature
*: Fixup ownership of compositional backends v0.1.88
Diffstat (limited to 'objectstore/chain/size.go')
-rw-r--r--objectstore/chain/size.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/objectstore/chain/size.go b/objectstore/chain/size.go
index 38aa7abc..9815317f 100644
--- a/objectstore/chain/size.go
+++ b/objectstore/chain/size.go
@@ -11,10 +11,6 @@ import (
// ReadSize reads object content length from the first backend that has it.
func (chain *Chain) ReadSize(id objectid.ObjectID) (int64, error) {
for i, backend := range chain.backends {
- if backend == nil {
- continue
- }
-
size, err := backend.ReadSize(id)
if err == nil {
return size, nil