diff options
Diffstat (limited to 'refstore/chain/list.go')
| -rw-r--r-- | refstore/chain/list.go | 4 |
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) |
