From ab6f8dde0cdc554084c4455c76feef0099db70d9 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 22 Mar 2026 23:10:37 +0000 Subject: *: Fixup ownership of compositional backends --- refstore/chain/list.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'refstore/chain/list.go') 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) -- cgit v1.3.1-10-gc9f91