mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
remove check for context.Canceled
gh-1434
This commit is contained in:
parent
20d78ab0d9
commit
0dc31c03e1
1 changed files with 0 additions and 4 deletions
|
@ -43,10 +43,6 @@ func (be *RetryBackend) retry(ctx context.Context, msg string, f func() error) e
|
|||
},
|
||||
)
|
||||
|
||||
if errors.Cause(err) == context.Canceled {
|
||||
return nil
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue