aboutsummaryrefslogtreecommitdiff
path: root/refstore/chain/list.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 /refstore/chain/list.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 'refstore/chain/list.go')
-rw-r--r--refstore/chain/list.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/refstore/chain/list.go b/refstore/chain/list.go
index e1594e95..c577ca85 100644
--- a/refstore/chain/list.go
+++ b/refstore/chain/list.go
@@ -15,10 +15,6 @@ func (chain *Chain) List(pattern string) ([]ref.Ref, error) {
seen := map[string]struct{}{}
for i, backend := range chain.backends {
- if backend == nil {
- continue
- }
-
listed, err := backend.List(pattern)
if err != nil {
return nil, fmt.Errorf("refstore: backend %d list: %w", i, err)