mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +00:00
b2: Remove extra error check
This commit is contained in:
parent
1892b314f8
commit
2a976d795f
@ -295,10 +295,6 @@ func (be *b2Backend) List(ctx context.Context, t restic.FileType, fn func(restic
|
|||||||
return ctx.Err()
|
return ctx.Err()
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.Err() != nil {
|
|
||||||
return ctx.Err()
|
|
||||||
}
|
|
||||||
|
|
||||||
attrs, err := obj.Attrs(ctx)
|
attrs, err := obj.Attrs(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user