diff options
| author | 2026-03-22 23:10:37 +0000 | |
|---|---|---|
| committer | 2026-03-22 23:13:19 +0000 | |
| commit | ab6f8dde0cdc554084c4455c76feef0099db70d9 (patch) | |
| tree | 6c6a207d6094a8d99b1b1b43f8bdee93c19871e0 /objectstore/chain/size.go | |
| parent | commitgraph: Tighten docs and use a value-ish Filter return (diff) | |
| signature | No signature | |
*: Fixup ownership of compositional backends v0.1.88
Diffstat (limited to 'objectstore/chain/size.go')
| -rw-r--r-- | objectstore/chain/size.go | 4 |
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 |
